|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Indexer
Base interface that declares methods for the Indexer.
Method Summary | |
---|---|
void |
add(String corpusPersistenceID,
List<Document> addedDocuments)
Add new documents to Index |
void |
createIndex(Map parameters)
Create a Index |
void |
deleteIndex()
Delete all index files and directories in index location. |
Corpus |
getCorpus()
Corpus to be indexed |
Map |
getParameters()
Returns the parameters |
void |
optimizeIndex()
Optimize the existing index |
void |
remove(List removedDocumentPersistenceIds)
remove documents from the Index |
void |
setCorpus(Corpus corpus)
Set the corpus to be indexed |
Method Detail |
---|
void createIndex(Map parameters) throws IndexException
parameters
- - parameters needed for creating an index values
depend on the implementing IndexManager
IndexException
void optimizeIndex() throws IndexException
IndexException
void deleteIndex() throws IndexException
IndexException
void add(String corpusPersistenceID, List<Document> addedDocuments) throws IndexException
corpusPersistenceID
- addedDocuments
-
IndexException
void remove(List removedDocumentPersistenceIds) throws IndexException
removedDocumentPersistenceIds
-
Exception
IndexException
void setCorpus(Corpus corpus) throws IndexException
corpus
-
IndexException
Corpus getCorpus()
Map getParameters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |