private static final class ConcatenateGraphFilter.EscapingTokenStreamToAutomaton extends TokenStreamToAutomaton
ConcatenateGraphFilter.SEP_LABEL
byte with an extra.Modifier and Type | Field and Description |
---|---|
(package private) byte |
sepLabel |
(package private) BytesRefBuilder |
spare |
HOLE, POS_SEP
Constructor and Description |
---|
EscapingTokenStreamToAutomaton(int sepLabel) |
Modifier and Type | Method and Description |
---|---|
protected BytesRef |
changeToken(BytesRef in)
Subclass and implement this if you need to change the
token (such as escaping certain bytes) before it's
turned into a graph.
|
setFinalOffsetGapAsHole, setPreservePositionIncrements, setUnicodeArcs, toAutomaton
final BytesRefBuilder spare
final byte sepLabel
public EscapingTokenStreamToAutomaton(int sepLabel)
protected BytesRef changeToken(BytesRef in)
TokenStreamToAutomaton
changeToken
in class TokenStreamToAutomaton