Class Analyzer.PerFieldReuseStrategy
Implementation of ReuseStrategy that reuses components per-field by maintaining a Map of TokenStreamComponents per field name.
Inherited Members
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 SourcePerFieldReuseStrategy()
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 SourceGetReusableComponents(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
| Improve this Doc View SourceSetReusableComponents(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 |