| org.tigris.scarab.util.word.SearchIndex
All known Subclasses: org.tigris.scarab.util.word.LuceneSearchIndex,
SearchIndex | public interface SearchIndex (Code) | | Support for searching/indexing text
author: John McNally version: $Id: SearchIndex.java 9381 2005-01-09 15:28:09Z dabbous $ |
clear | void clear()(Code) | | Prepares the instance for reuse.
|
getRelatedIssues | Long[] getRelatedIssues() throws Exception(Code) | | returns a list of related issue IDs sorted by relevance descending.
Should return an empty/length=0 array if search returns no results.
|
getRelatedIssues | Long[] getRelatedIssues(boolean mergeResults) throws Exception(Code) | | returns a list of related issue IDs sorted by relevance descending.
Should return an empty/length=0 array if search returns no results.
if(mergeResults==false) performs an implicit AND on internal partial queries.
if(mergeResults==true) performs an implicit OR on internal partial queries.
The method getRelatedIssue() is equivalent to getRelatedIssues(false);
|
updateIndex | void updateIndex() throws Exception(Code) | | update the index for all entities that currently exist
|
|
|