|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LuceneSearchEngineIndexManager
Specialized Lucene index manager extension.
| Nested Class Summary | |
|---|---|
static class |
LuceneSearchEngineIndexManager.LuceneIndexHolder
|
| Nested classes/interfaces inherited from interface org.compass.core.engine.SearchEngineIndexManager |
|---|
SearchEngineIndexManager.IndexOperationCallback, SearchEngineIndexManager.ReplaceIndexCallback |
| Methods inherited from interface org.compass.core.engine.SearchEngineIndexManager |
|---|
checkAndClearIfNotifiedAllToClearCache, clearCache, clearCache, close, createIndex, deleteIndex, indexExists, isCached, isCached, isLocked, isLocked, isRunning, notifyAllToClearCache, operate, releaseLock, releaseLocks, replaceIndex, start, stop, verifyIndex |
| Method Detail |
|---|
LuceneSettings getSettings()
LuceneSearchEngineStore getStore()
IndexWriter openIndexWriter(Directory dir,
boolean create)
throws IOException
IOException
void closeIndexWriter(String subIndex,
IndexWriter indexWriter,
Directory dir)
throws SearchEngineException
SearchEngineException
LuceneSearchEngineIndexManager.LuceneIndexHolder openIndexHolderBySubIndex(String subIndex)
throws SearchEngineException
SearchEngineExceptionvoid setWaitForCacheInvalidationBeforeSecondStep(long timeToWaitInMillis)
SearchEngineIndexManager.operate(org.compass.core.engine.SearchEngineIndexManager.IndexOperationCallback)
or SearchEngineIndexManager.replaceIndex(org.compass.core.engine.SearchEngineIndexManager, org.compass.core.engine.SearchEngineIndexManager.ReplaceIndexCallback).
If directly set to 0, will not wait.
This one will default to the ScheduledLuceneSearchEngineIndexManager interval.
timeToWaitInMillis -
boolean isIndexCompound()
throws SearchEngineException
true if the index is in a compound form. Will return true
if the index is empty or it does not exists.
SearchEngineException
boolean isIndexUnCompound()
throws SearchEngineException
true if the index is in a none compound form. Will return true
if the index is empty or it does not exists.
SearchEngineException
void compoundIndex()
throws SearchEngineException
SearchEngineException
void unCompoundIndex()
throws SearchEngineException
SearchEngineException
void performScheduledTasks()
throws SearchEngineException
SearchEngineException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||