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. @lucene.experimental 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 © 2020 Licensed to the Apache Software Foundation (ASF)