|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.search.didyoumean.lucene.IncrementalIndexBuilder
public class IncrementalIndexBuilder
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.
| Constructor Summary | |
|---|---|
IncrementalIndexBuilder(com.atlassian.bonnie.LuceneConnection didYouMeanLuceneConnection,
com.atlassian.bonnie.LuceneConnection luceneConnection)
|
|
| Method Summary | |
|---|---|
void |
build()
Triggers the build of the index. |
void |
build(EstimatedProgressMeter progressMeter)
Triggers the build of the index. |
boolean |
isReady()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IncrementalIndexBuilder(com.atlassian.bonnie.LuceneConnection didYouMeanLuceneConnection,
com.atlassian.bonnie.LuceneConnection luceneConnection)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public boolean isReady()
isReady in interface IndexBuilderWordExtractor.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.public void build()
IndexBuilderIndexBuilder.isReady() first
before invoking this method.
build in interface IndexBuilderpublic void build(EstimatedProgressMeter progressMeter)
IndexBuilderIndexBuilder.isReady() first
before invoking this method.
build in interface IndexBuilderprogressMeter - progress made by this builder will be reflected on this progressMeter. Cannot be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||