|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.search.didyoumean.lucene.FullIndexBuilder
public class FullIndexBuilder
Builder that extracts unique words from the WordExtractor.DID_YOU_MEAN_FIELD in
Confluence's index and adds them to a did-you-mean index (a separate secondary index).
| Constructor Summary | |
|---|---|
FullIndexBuilder(com.atlassian.bonnie.LuceneConnection didYouMeanLuceneConnection,
com.atlassian.bonnie.LuceneConnection luceneConnection,
org.apache.lucene.analysis.Analyzer didYouMeanAnalyzer)
|
|
| 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 FullIndexBuilder(com.atlassian.bonnie.LuceneConnection didYouMeanLuceneConnection,
com.atlassian.bonnie.LuceneConnection luceneConnection,
org.apache.lucene.analysis.Analyzer didYouMeanAnalyzer)
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, 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 | |||||||||