java.lang.Object
org.apache.lucene.search.uhighlight.UHComponents
A parameter object to hold the components a
FieldOffsetStrategy needs.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final LabelledCharArrayMatcher[]private final Stringprivate final booleanprivate final Set<UnifiedHighlighter.HighlightFlag> private final PhraseHelperprivate final Queryprivate final BytesRef[] -
Constructor Summary
ConstructorsConstructorDescriptionUHComponents(String field, Predicate<String> fieldMatcher, Query query, BytesRef[] terms, PhraseHelper phraseHelper, LabelledCharArrayMatcher[] automata, boolean hasUnrecognizedQueryPart, Set<UnifiedHighlighter.HighlightFlag> highlightFlags) -
Method Summary
-
Field Details
-
field
-
fieldMatcher
-
query
-
terms
-
phraseHelper
-
automata
-
hasUnrecognizedQueryPart
private final boolean hasUnrecognizedQueryPart -
highlightFlags
-
-
Constructor Details
-
UHComponents
public UHComponents(String field, Predicate<String> fieldMatcher, Query query, BytesRef[] terms, PhraseHelper phraseHelper, LabelledCharArrayMatcher[] automata, boolean hasUnrecognizedQueryPart, Set<UnifiedHighlighter.HighlightFlag> highlightFlags)
-
-
Method Details
-
getField
-
getFieldMatcher
-
getQuery
-
getTerms
-
getPhraseHelper
-
getAutomata
-
hasUnrecognizedQueryPart
public boolean hasUnrecognizedQueryPart() -
getHighlightFlags
-