|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Performs batch operations on an index.
| Nested Class Summary | |
static interface |
BatchOpIndexer.DocumentWritingScheme
Writes documents. |
| Method Summary | |
org.apache.lucene.analysis.Analyzer |
getAnalyzer()
Get analyzer used for indexing. |
void |
reindex(ObjectQueue queue,
BatchOpIndexer.DocumentWritingScheme documentWritingScheme,
com.atlassian.core.util.ProgressMeter progress,
boolean truncate)
Indexes objects in batch. |
void |
truncateIndex()
Truncate the index. |
| Method Detail |
public void reindex(ObjectQueue queue,
BatchOpIndexer.DocumentWritingScheme documentWritingScheme,
com.atlassian.core.util.ProgressMeter progress,
boolean truncate)
throws java.io.IOException
queue - queue of objects to indexdocumentWritingScheme - document writing scheme to useprogress - progress meter indicating index progresstruncate - should the original index be truncated?
java.io.IOException
public void truncateIndex()
throws java.io.IOException
java.io.IOExceptionpublic org.apache.lucene.analysis.Analyzer getAnalyzer()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||