Interface LabelledCharArrayMatcher
-
- All Superinterfaces:
CharArrayMatcher
public interface LabelledCharArrayMatcher extends CharArrayMatcher
Associates a label with a CharArrayMatcher to distinguish different sources for terms in highlighting
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getLabel()
static LabelledCharArrayMatcher
wrap(java.lang.String label, CharArrayMatcher in)
Associates a label with a CharArrayMatcherstatic LabelledCharArrayMatcher
wrap(java.lang.String label, ByteRunAutomaton runAutomaton)
Returns a representation of the automaton that matches char[] instead of byte[]-
Methods inherited from interface org.apache.lucene.search.uhighlight.CharArrayMatcher
match, match
-
-
-
-
Method Detail
-
getLabel
java.lang.String getLabel()
- Returns:
- the label for this matcher
-
wrap
static LabelledCharArrayMatcher wrap(java.lang.String label, CharArrayMatcher in)
Associates a label with a CharArrayMatcher
-
wrap
static LabelledCharArrayMatcher wrap(java.lang.String label, ByteRunAutomaton runAutomaton)
Returns a representation of the automaton that matches char[] instead of byte[]
-
-