Method |
Description |
|
__construct ( ) |
|
|
breakIntoTokens ( $text ) |
|
|
createIndex ( $indexName ) |
|
|
filesystemMapIdsToPaths ( $docs ) |
|
|
fuzzySearch ( $keyword ) |
|
|
getAllDocumentsForKeyword ( $keyword, $noLimit = false, $isLastKeyword = false ) |
|
|
getAllDocumentsForWhereKeywordNot ( $keyword, $noLimit = false ) |
|
|
getIndex ( ) |
|
|
getStemmer ( ) |
|
|
getWordlistByKeyword ( $keyword, $isLastWord = false ) |
|
|
highlight ( $text, $needle, $tag = 'em', $options = [] ) |
|
|
info ( $str ) |
|
|
isFileSystemIndex ( ) |
|
|
loadConfig ( $config ) |
|
|
search ( $phrase, $numOfResults = 100 ) |
|
|
searchBoolean ( $phrase, $numOfResults = 100 ) |
|
|
selectIndex ( $indexName ) |
|
|
setDatabaseHandle ( PDO $dbh ) |
|
|
setStemmer ( ) |
|
|
setTokenizer ( TeamTNT\TNTSearch\Support\TokenizerInterface $tokenizer ) |
|
|
snippet ( $words, $fulltext, $rellength = 300, $prevcount = 50, $indicator = '...' ) |
|
|
totalDocumentsInCollection ( ) |
|
|
totalMatchingDocuments ( $keyword, $isLastWord = false ) |
|
|