The TypeAttribute is not saved in the index "automatically"; if you
want that, you need to move it over to the payload, which it looks
like you are doing, so then just use DocsAndPositionsEnum.getPayload()
to get it.
CharTermAttribute is the term text, ie it's the terms exposed from
TermsEnum. In
Hi,
I have written a custom Tokenizer which will split my input text into
tokens, i have overridden the incrementToken method and setting
chartermAttribute, offsetAttribute, typeAttribute (Please find the method
below..)
@Override
final public boolean incrementToken() throws IOException {