Open Journal Systems
3.3.0
|
Public Member Functions | |
clearSubmissionFiles ($submission) | |
filterKeywords ($text, $allowWildcards=false) | |
submissionChangesFinished () | |
submissionMetadataChanged ($submission) | |
Protected Member Functions | |
_loadStopwords () | |
Class to maintain a submission search index.
Definition at line 25 of file SubmissionSearchIndex.inc.php.
|
protected |
Return list of stopwords. FIXME: Should this be locale-specific?
Definition at line 65 of file SubmissionSearchIndex.inc.php.
Referenced by filterKeywords().
|
abstract |
Remove indexed file contents for a submission
$submission | Submission |
Reimplemented in ArticleSearchIndex.
SubmissionSearchIndex::filterKeywords | ( | $text, | |
$allowWildcards = false |
|||
) |
Split a string into a clean array of keywords
$text | string |
$allowWildcards | boolean |
Definition at line 32 of file SubmissionSearchIndex.inc.php.
References _loadStopwords(), Config\getVar(), PKPString\regexp_replace(), PKPString\regexp_split(), PKPString\strlen(), PKPString\strtolower(), and PKPString\substr().
Referenced by ArticleSearchIndex\_indexObjectKeywords().
|
abstract |
Let the indexing back-end know that the current transaction finished so that the index can be batch-updated.
Reimplemented in ArticleSearchIndex.
|
abstract |
Signal to the indexing back-end that the metadata of a submission changed.
Push indexing implementations will try to immediately update the index to reflect the changes. Pull implementations will mark articles as "changed" and let the indexing back-end decide the best point in time to actually index the changed data.
$submission | Submission |
Reimplemented in ArticleSearchIndex.