Свойство | Type | Description | |
---|---|---|---|
$config | |||
$disableOutput | |||
$filereader | |||
$inMemory | |||
$indexName | |||
$stemmer | |||
$steps | |||
$tokenizer |
Свойство | Type | Description | |
---|---|---|---|
$dbh | |||
$decodeHTMLEntities | |||
$inMemoryTerms | |||
$index | |||
$primaryKey | |||
$query | |||
$wordlist |
Méthode | Description | |
---|---|---|
__construct ( ) | ||
breakIntoTokens ( $text ) | ||
buildDictionary ( $filename, $count, $hits = true, $docs = false ) | ||
buildTrigrams ( $keyword ) | ||
countDocHitsInWordList ( $word ) | ||
countWordInWordList ( $word ) | ||
createConnector ( array $config ) | ||
createIndex ( $indexName ) | ||
decodeHtmlEntities ( $value = true ) | ||
delete ( $documentId ) | ||
getPrimaryKey ( ) | ||
getStemmer ( ) | ||
getStoragePath ( ) | ||
getWordFromWordList ( $word ) | ||
indexBeginTransaction ( ) | ||
indexEndTransaction ( ) | ||
info ( $text ) | ||
insert ( $document ) | ||
loadConfig ( $config ) | ||
prepareAndExecuteStatement ( $query, $params = [] ) | ||
processDocument ( $row ) | ||
query ( $query ) | ||
readDocumentsFromFileSystem ( ) | ||
run ( ) | ||
saveDoclist ( $terms, $docId ) | ||
saveHitList ( $stems, $docId, $termsList ) | ||
saveToIndex ( $stems, $docId ) | ||
saveWordlist ( $stems ) | ||
setCroatianStemmer ( ) | ||
setDatabaseHandle ( PDO $dbh ) | ||
setFileReader ( $filereader ) | ||
setIndex ( $index ) | ||
setLanguage ( $language = 'porter' ) | ||
setPrimaryKey ( $primaryKey ) | ||
setStemmer ( $stemmer ) | ||
setTokenizer ( TeamTNT\TNTSearch\Support\TokenizerInterface $tokenizer ) | ||
stemText ( $text ) | ||
totalDocumentsInCollection ( ) | ||
update ( $id, $document ) | ||
updateInfoTable ( $key, $value ) |
public buildDictionary ( $filename, $count, $hits = true, $docs = false ) |
public prepareAndExecuteStatement ( $query, $params = [] ) |
public setTokenizer ( TeamTNT\TNTSearch\Support\TokenizerInterface $tokenizer ) | ||
$tokenizer | TeamTNT\TNTSearch\Support\TokenizerInterface |