|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.search.vectorhighlight.FieldFragList
public class FieldFragList
FieldFragList has a list of "frag info" that is used by FragmentsBuilder class to create fragments (snippets).
Nested Class Summary | |
---|---|
static class |
FieldFragList.WeightedFragInfo
|
Constructor Summary | |
---|---|
FieldFragList(int fragCharSize)
a constructor. |
Method Summary | |
---|---|
void |
add(int startOffset,
int endOffset,
java.util.List<FieldPhraseList.WeightedPhraseInfo> phraseInfoList)
convert the list of WeightedPhraseInfo to WeightedFragInfo, then add it to the fragInfos |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldFragList(int fragCharSize)
fragCharSize
- the length (number of chars) of a fragmentMethod Detail |
---|
public void add(int startOffset, int endOffset, java.util.List<FieldPhraseList.WeightedPhraseInfo> phraseInfoList)
startOffset
- start offset of the fragmentendOffset
- end offset of the fragmentphraseInfoList
- list of WeightedPhraseInfo objects
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |