Fork me on GitHub
  • API

    Show / Hide Table of Contents

    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.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    While we think this is here to stay, we may want to change it to be a long.

    Inherited Members
    IAttribute.CopyTo(IAttribute)
    Namespace: Lucene.Net.Analysis.TokenAttributes
    Assembly: Lucene.Net.dll
    Syntax
    public interface IFlagsAttribute : IAttribute

    Properties

    | Improve this Doc View Source

    Flags

    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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.