Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
nticaric committed Jul 14, 2023
1 parent ec5e602 commit 16ef36d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/Contracts/EngineContract.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,22 @@ interface EngineContract
{
public function loadConfig(array $config);
public function createIndex(string $indexName);
public function updateInfoTable(string $key, string $value);
public function getValueFromInfoTable(string $value);
public function run();
public function processDocument($row);
public function saveToIndex($stems, $docId);
public function selectIndex($indexName);
public function saveWordlist($stems);
public function saveDoclist($terms, $docId);
public function saveHitList();
public function delete($documentId);
public function totalDocumentsInCollection();
public function getWordFromWordList($word);
public function fuzzySearch($keyword);
public function readDocumentsFromFileSystem();
public function getAllDocumentsForStrictKeyword($word, $noLimit);
public function getAllDocumentsForFuzzyKeyword($words, $noLimit);
public function getAllDocumentsForWhereKeywordNot($keyword, $noLimit);
public function flushIndex($indexName);
}

0 comments on commit 16ef36d

Please sign in to comment.