|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| 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 |
public Corpus getCorpus()
Corpus value;public void setCorpus(Corpus corpus)
corpus - a Corpus value;public IndexDefinition getIndexDefinition()
IndexDefinition value.public void setIndexDefinition(IndexDefinition indexDefinition)
indexDefinition - a IndexDefinition value.
public void createIndex()
throws IndexException
IndexException
public void optimizeIndex()
throws IndexException
IndexException
public void deleteIndex()
throws IndexException
IndexException
public void sync(List added,
List removed,
List changed)
throws IndexException
IndexException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||