Package | Description |
---|---|
org.apache.lucene.search.vectorhighlight |
Another highlighter implementation based on term vectors.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseFragmentsBuilder
Base FragmentsBuilder implementation that supports colored pre/post
tags and multivalued fields.
|
class |
ScoreOrderFragmentsBuilder
An implementation of FragmentsBuilder that outputs score-order fragments.
|
class |
SimpleFragmentsBuilder
A simple implementation of FragmentsBuilder.
|
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-2017 Apache Software Foundation. All Rights Reserved.