Interface BytesTermAttribute
- All Superinterfaces:
Attribute,TermToBytesRefAttribute
- All Known Implementing Classes:
BytesTermAttributeImpl
This attribute can be used if you have the raw term bytes to be indexed.
It can be used as replacement for
CharTermAttribute, if binary
terms should be indexed.-
Method Summary
Methods inherited from interface org.apache.lucene.analysis.tokenattributes.TermToBytesRefAttribute
getBytesRef
-
Method Details
-
setBytesRef
Sets theBytesRefof the term
-