java.lang.Object |
↳ |
com.atlassian.confluence.search.lucene.MultiThreadedIndexRebuilder |
Class Overview
Performs a rebuild the Confluence index using multithreaded approach.
The index is first rebuilt into a temporary location, with each thread writing to its own temporary file.
Once all workers have completed their respective indexing jobs, we merge all temporary file indexes together,
truncate/delete the main index and then merge and promote the temporary index to be the main search index.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.bonnie.search.BatchIndexer
|
Public Constructors
public
MultiThreadedIndexRebuilder
()
Public Methods
public
boolean
isReIndexRunning
()
public
void
reIndexAll
()
public
void
setAnalyzerFactory
(LuceneAnalyzerFactory analyzerFactory)
public
void
setEventPublisher
(EventPublisher eventPublisher)
public
void
setLuceneConnection
(ILuceneConnection luceneConnection)
public
void
setTransactionManager
(PlatformTransactionManager transactionManager)
public
void
unIndexAll
()