|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IndexManager
Method Summary | |
---|---|
void |
createIndex()
Creates index directory and indexing all documents in the corpus. |
void |
deleteIndex()
Delete all index files and directories in index location. |
Corpus |
getCorpus()
Gets the corpus this index manages will index. |
IndexDefinition |
getIndexDefinition()
Gets the index definition for this index manager. |
void |
optimizeIndex()
Optimize the existing index |
void |
setCorpus(Corpus corpus)
Sets the corpus this index manages will index. |
void |
setIndexDefinition(IndexDefinition indexDefinition)
Sets the index definition for this index manager. |
void |
sync(List added,
List removed,
List changed)
Reindexing changed documents, removing removed documents and add to the index new corpus documents. |
Method Detail |
---|
Corpus getCorpus()
Corpus
value;void setCorpus(Corpus corpus)
corpus
- a Corpus
value;IndexDefinition getIndexDefinition()
IndexDefinition
value.void setIndexDefinition(IndexDefinition indexDefinition)
indexDefinition
- a IndexDefinition
value.void createIndex() throws IndexException
IndexException
void optimizeIndex() throws IndexException
IndexException
void deleteIndex() throws IndexException
IndexException
void sync(List added, List removed, List changed) throws IndexException
IndexException
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |