Class Analyzer.GlobalReuseStrategy
Implementation of ReuseStrategy that reuses the same components for every field.
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.GLOBAL_REUSE_STRATEGY instead!")]
public sealed class GlobalReuseStrategy : ReuseStrategy
Constructors
| Improve this Doc View SourceGlobalReuseStrategy()
Sole constructor. (For invocation by subclass constructors, typically implicit.)
Declaration
[Obsolete("Don't create instances of this class, use Analyzer.GLOBAL_REUSE_STRATEGY")]
public GlobalReuseStrategy()
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 |