|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BatchOpIndexer
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 |
|---|
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
void truncateIndex()
throws java.io.IOException
java.io.IOExceptionorg.apache.lucene.analysis.Analyzer getAnalyzer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||