|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfluenceIndexManager
The Confluence Index Manager is the entry point to the Indexing Subsystem
Nested Class Summary | |
---|---|
static class |
ConfluenceIndexManager.IndexQueueFlushMode
Enum indicating the mode in which to flush the queue. |
Method Summary | |
---|---|
boolean |
flushQueue()
Flush the index queue, processing all of the tasks. |
boolean |
flushQueue(boolean batch)
Deprecated. since 4.3 use flushQueue(com.atlassian.confluence.search.lucene.ConfluenceIndexManager.IndexQueueFlushMode) |
boolean |
flushQueue(ConfluenceIndexManager.IndexQueueFlushMode flushMode)
Flush the index queue, processing a batch of the tasks |
FlushStatistics |
getLastNonEmptyFlushStats()
|
ReIndexTask |
getLastReindexingTask()
|
IndexTaskQueue |
getTaskQueue()
Retrieve an instance of the systems index queue. |
boolean |
isFlushing()
Returns true if the the index queue is currently being flushed. |
boolean |
isReIndexing()
Returns true if the system is currently being reindexed. |
void |
optimizeIndex()
Deprecated. since 5.2. Optimize index (i.e. force merging to 1 segment is no longer required) CONFDEV-16098 |
ReIndexTask |
reIndex()
Trigger a system wide reindex of all content. |
ReIndexTask |
reIndex(java.util.Set<ReIndexOption> options)
Trigger a system wide reindex with specified options. |
void |
resetIndexQueue()
Resetting the index queue removes all entries from the queue without processing them. |
void |
unIndexAll()
|
Method Detail |
---|
boolean isFlushing()
boolean isReIndexing()
boolean flushQueue(ConfluenceIndexManager.IndexQueueFlushMode flushMode)
batch
- - whether to flush the entire queue, or just one batch of batchsize as specified by
the system property index.queue.batch.size
@Deprecated boolean flushQueue(boolean batch)
flushQueue(com.atlassian.confluence.search.lucene.ConfluenceIndexManager.IndexQueueFlushMode)
batch
- - whether to flush the entire queue, or just one batch of batchsize as specified by
the system property index.queue.batch.size
boolean flushQueue()
ReIndexTask reIndex()
ReIndexTask reIndex(java.util.Set<ReIndexOption> options)
void unIndexAll()
void optimizeIndex()
IndexTaskQueue getTaskQueue()
ReIndexTask getLastReindexingTask()
FlushStatistics getLastNonEmptyFlushStats()
void resetIndexQueue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |