Class TrimFilterFactory
Factory for TrimFilter.
<fieldType name="text_trm" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.NGramTokenizerFactory"/>
<filter class="solr.TrimFilterFactory" />
</analyzer>
</fieldType>
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.Miscellaneous
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class TrimFilterFactory : TokenFilterFactory
Constructors
| Improve this Doc View SourceTrimFilterFactory(IDictionary<String, String>)
Creates a new TrimFilterFactory
Declaration
public TrimFilterFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | args |
Fields
| Improve this Doc View Sourcem_updateOffsets
Declaration
protected readonly bool m_updateOffsets
Field Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceCreate(TokenStream)
Declaration
public override TokenStream Create(TokenStream input)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Analysis.TokenStream | input |
Returns
Type | Description |
---|---|
Lucene.Net.Analysis.TokenStream |