Package | Description |
---|---|
org.apache.lucene.search.vectorhighlight |
Another highlighter implementation based on term vectors.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseFragListBuilder
A abstract implementation of
FragListBuilder . |
class |
SimpleFragListBuilder
A simple implementation of
FragListBuilder . |
class |
SingleFragListBuilder
An implementation class of
FragListBuilder that generates one FieldFragList.WeightedFragInfo object. |
class |
WeightedFragListBuilder
A weighted implementation of
FragListBuilder . |
Modifier and Type | Method and Description |
---|---|
String |
FastVectorHighlighter.getBestFragment(FieldQuery fieldQuery,
IndexReader reader,
int docId,
String fieldName,
int fragCharSize,
FragListBuilder fragListBuilder,
FragmentsBuilder fragmentsBuilder,
String[] preTags,
String[] postTags,
Encoder encoder)
return the best fragment.
|
String[] |
FastVectorHighlighter.getBestFragments(FieldQuery fieldQuery,
IndexReader reader,
int docId,
String fieldName,
int fragCharSize,
int maxNumFragments,
FragListBuilder fragListBuilder,
FragmentsBuilder fragmentsBuilder,
String[] preTags,
String[] postTags,
Encoder encoder)
return the best fragments.
|
String[] |
FastVectorHighlighter.getBestFragments(FieldQuery fieldQuery,
IndexReader reader,
int docId,
String storedField,
Set<String> matchedFields,
int fragCharSize,
int maxNumFragments,
FragListBuilder fragListBuilder,
FragmentsBuilder fragmentsBuilder,
String[] preTags,
String[] postTags,
Encoder encoder)
Return the best fragments.
|
Constructor and Description |
---|
FastVectorHighlighter(boolean phraseHighlight,
boolean fieldMatch,
FragListBuilder fragListBuilder,
FragmentsBuilder fragmentsBuilder)
a constructor.
|
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.