| java.lang.Object |
| ↳ |
com.atlassian.confluence.search.didyoumean.lucene.IncrementalIndexBuilder |
Class Overview
Performs an incremental update of the did-you-mean index by adding any new words
and removing ones that are no longer used anymore in Confluence content.
Summary
| Public Constructors |
|
|
IncrementalIndexBuilder(ILuceneConnection didYouMeanLuceneConnection, ILuceneConnection luceneConnection)
|
Public Constructors
public
IncrementalIndexBuilder
(ILuceneConnection didYouMeanLuceneConnection, ILuceneConnection luceneConnection)
Public Methods
Triggers the build of the index. You must check isReady() first
before invoking this method.
Parameters
| progressMeter
| progress made by this builder will be reflected on this progressMeter. Cannot be null. |
public
void
build
()
Triggers the build of the index. You must check isReady() first
before invoking this method.
public
boolean
isReady
()
Returns
- true if the
DID_YOU_MEAN_FIELD
is found in the Confluence index and contains values AND there is an existing did-you-mean index to perform an incremental index on, false otherwise.