Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Analyzer.PerFieldReuseStrategy

    Implementation of ReuseStrategy that reuses components per-field by maintaining a Map of TokenStreamComponents per field name.

    Inheritance
    System.Object
    ReuseStrategy
    Analyzer.PerFieldReuseStrategy
    Inherited Members
    ReuseStrategy.GetStoredValue(Analyzer)
    ReuseStrategy.SetStoredValue(Analyzer, Object)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Analysis
    Assembly: Lucene.Net.dll
    Syntax
    [Obsolete("this implementation class will be hidden in Lucene 5.0. Use Analyzer.PER_FIELD_REUSE_STRATEGY instead!")]
    public class PerFieldReuseStrategy : ReuseStrategy

    Constructors

    | Improve this Doc View Source

    PerFieldReuseStrategy()

    Sole constructor. (For invocation by subclass constructors, typically implicit.)

    Declaration
    [Obsolete("Don't create instances of this class, use Analyzer.PER_FIELD_REUSE_STRATEGY")]
    public PerFieldReuseStrategy()

    Methods

    | Improve this Doc View Source

    GetReusableComponents(Analyzer, String)

    Declaration
    public override TokenStreamComponents GetReusableComponents(Analyzer analyzer, string fieldName)
    Parameters
    Type Name Description
    Analyzer analyzer
    System.String fieldName
    Returns
    Type Description
    TokenStreamComponents
    Overrides
    ReuseStrategy.GetReusableComponents(Analyzer, String)
    | Improve this Doc View Source

    SetReusableComponents(Analyzer, String, TokenStreamComponents)

    Declaration
    public override void SetReusableComponents(Analyzer analyzer, string fieldName, TokenStreamComponents components)
    Parameters
    Type Name Description
    Analyzer analyzer
    System.String fieldName
    TokenStreamComponents components
    Overrides
    ReuseStrategy.SetReusableComponents(Analyzer, String, TokenStreamComponents)
    • 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.