|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OptimizableIndex
An optimisable index has a number of segments that could be merged and a permanent index writer into which those segments are merged
| Method Summary | |
|---|---|
int |
getNumberOfOptimzableSegments()
Get the number of indexes that could be optimized |
File[] |
getOptimizableSegments()
Get a list of segments that can be optimized |
org.apache.lucene.index.IndexWriter |
getPermanentIndexWriter()
|
void |
removeOptimizableSegments(File[] optimzableSegments)
Remove the supplied list of segments from the optimizable set |
| Method Detail |
|---|
File[] getOptimizableSegments()
throws IndexTransactionException
IndexTransactionException
org.apache.lucene.index.IndexWriter getPermanentIndexWriter()
throws IndexTransactionException
IndexTransactionException
void removeOptimizableSegments(File[] optimzableSegments)
throws IOException,
IndexTransactionException
optimzableSegments -
IOException
IndexTransactionException
int getNumberOfOptimzableSegments()
throws IndexTransactionException
JournalErrorException
IndexTransactionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||