BytesTermAttribute

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.

Inheritors

Properties

Link copied to clipboard
abstract val bytesRef: BytesRef

Retrieve this attribute's BytesRef. The bytes are updated from the current term. The implementation may return a new instance or keep the previous one.

Functions

Link copied to clipboard
abstract fun setBytesRef(bytes: BytesRef?)

Sets the BytesRef of the term