org.apache.lucene.search.vectorhighlight
Class FieldPhraseList
java.lang.Object
org.apache.lucene.search.vectorhighlight.FieldPhraseList
public class FieldPhraseList
- extends Object
FieldPhraseList has a list of WeightedPhraseInfo that is used by FragListBuilder
to create a FieldFragList object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldPhraseList
public FieldPhraseList(FieldTermStack fieldTermStack,
FieldQuery fieldQuery)
- create a FieldPhraseList that has no limit on the number of phrases to analyze
- Parameters:
fieldTermStack
- FieldTermStack objectfieldQuery
- FieldQuery object
FieldPhraseList
public FieldPhraseList(FieldTermStack fieldTermStack,
FieldQuery fieldQuery,
int phraseLimit)
- a constructor.
- Parameters:
fieldTermStack
- FieldTermStack objectfieldQuery
- FieldQuery objectphraseLimit
- maximum size of phraseList