public abstract static class SuggestUtils.TokenConsumer extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.lucene.analysis.tokenattributes.CharTermAttribute |
charTermAttr |
protected org.apache.lucene.analysis.tokenattributes.OffsetAttribute |
offsetAttr |
protected org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute |
posIncAttr |
Constructor and Description |
---|
SuggestUtils.TokenConsumer() |
Modifier and Type | Method and Description |
---|---|
void |
end() |
protected org.apache.lucene.util.BytesRef |
fillBytesRef(org.apache.lucene.util.BytesRefBuilder spare) |
abstract void |
nextToken() |
void |
reset(org.apache.lucene.analysis.TokenStream stream) |
protected org.apache.lucene.analysis.tokenattributes.CharTermAttribute charTermAttr
protected org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute posIncAttr
protected org.apache.lucene.analysis.tokenattributes.OffsetAttribute offsetAttr
public void reset(org.apache.lucene.analysis.TokenStream stream)
protected org.apache.lucene.util.BytesRef fillBytesRef(org.apache.lucene.util.BytesRefBuilder spare)
public abstract void nextToken() throws IOException
IOException
public void end()
Copyright © 2009–2016. All rights reserved.