Interface IFlagsAttribute
This attribute can be used to pass different flags down the Tokenizer chain, eg from one TokenFilter to another one.
This is completely distinct from TypeAttribute, although they do share similar purposes. The flags can be used to encode information about the token for use by other TokenFilters.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
While we think this is here to stay, we may want to change it to be a long.
Inherited Members
Namespace: Lucene.Net.Analysis.TokenAttributes
Assembly: Lucene.Net.dll
Syntax
public interface IFlagsAttribute : IAttribute
Properties
| Improve this Doc View SourceFlags
Get the bitset for any bits that have been set.
This is completely distinct from Type, although they do share similar purposes. The flags can be used to encode information about the token for use by other TokenFilters.
Declaration
int Flags { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |