PositionLengthAttribute

Determines how many positions this token spans. Very few analyzer components actually produce this attribute, and indexing ignores it, but it's useful to express the graph structure naturally produced by decompounding, word splitting/joining, synonym filtering, etc.

NOTE: this is optional, and most analyzers don't change the default value (1).

Inheritors

Properties

Link copied to clipboard
abstract var positionLength: Int

Set the position length of this Token.