Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Interface IKeywordAttribute

    This attribute can be used to mark a token as a keyword. Keyword aware TokenStreams can decide to modify a token based on the return value of IsKeyword if the token is modified. Stemming filters for instance can use this attribute to conditionally skip a term if IsKeyword returns true.

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

    Properties

    | Improve this Doc View Source

    IsKeyword

    Gets or Sets whether the current token is a keyword. true if the current token is a keyword, otherwise false.

    Declaration
    bool IsKeyword { get; set; }
    Property Value
    Type Description
    System.Boolean
    • 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.