Apache Lucene.Net 2.4.0 Class Library API

Token.GetFlags Method 

EXPERIMENTAL: While we think this is here to stay, we may want to change it to be a long. Get the bitset for any bits that have been set. This is completely distinct from {@link #type()}, although they do share similar purposes. The flags can be used to encode information about the token for use by other {@link org.apache.lucene.analysis.TokenFilter}s.

public int GetFlags();

Return Value

The bits

See Also

Token Class | Lucene.Net.Analysis Namespace