Class LimitTokenCountAnalyzer
This Analyzer limits the number of tokens while indexing. It is a replacement for the maximum field length setting inside IndexWriter.
Inherited Members
Lucene.Net.Analysis.AnalyzerWrapper.WrapReader(System.String, System.IO.TextReader)
Lucene.Net.Analysis.AnalyzerWrapper.CreateComponents(System.String, System.IO.TextReader)
Lucene.Net.Analysis.AnalyzerWrapper.InitReader(System.String, System.IO.TextReader)
Lucene.Net.Analysis.Analyzer.NewAnonymous(System.Func<System.String, System.IO.TextReader, Lucene.Net.Analysis.TokenStreamComponents>)
Lucene.Net.Analysis.Analyzer.NewAnonymous(System.Func<System.String, System.IO.TextReader, Lucene.Net.Analysis.TokenStreamComponents>, Lucene.Net.Analysis.ReuseStrategy)
Lucene.Net.Analysis.Analyzer.NewAnonymous(System.Func<System.String, System.IO.TextReader, Lucene.Net.Analysis.TokenStreamComponents>, System.Func<System.String, System.IO.TextReader, System.IO.TextReader>)
Lucene.Net.Analysis.Analyzer.NewAnonymous(System.Func<System.String, System.IO.TextReader, Lucene.Net.Analysis.TokenStreamComponents>, System.Func<System.String, System.IO.TextReader, System.IO.TextReader>, Lucene.Net.Analysis.ReuseStrategy)
Lucene.Net.Analysis.Analyzer.GetTokenStream(System.String, System.IO.TextReader)
Lucene.Net.Analysis.Analyzer.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Serializable]
public sealed class LimitTokenCountAnalyzer : AnalyzerWrapper, IDisposable
Constructors
Name | Description |
---|---|
LimitTokenCountAnalyzer(Analyzer, Int32) | Build an analyzer that limits the maximum number of tokens per field. This analyzer will not consume any tokens beyond the maxTokenCount limit |
LimitTokenCountAnalyzer(Analyzer, Int32, Boolean) | Build an analyzer that limits the maximum number of tokens per field. |
Methods
Name | Description |
---|---|
GetWrappedAnalyzer(String) | |
ToString() | |
WrapComponents(String, TokenStreamComponents) |