Class LengthFilterFactory
Factory for LengthFilter.
<fieldType name="text_lngth" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.LengthFilterFactory" min="0" max="1" />
</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 LengthFilterFactory : TokenFilterFactory
Constructors
| Improve this Doc View SourceLengthFilterFactory(IDictionary<String, String>)
Creates a new LengthFilterFactory
Declaration
public LengthFilterFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | args |
Fields
| Improve this Doc View SourceMAX_KEY
Declaration
public const string MAX_KEY = "max"
Field Value
Type | Description |
---|---|
System.String |
MIN_KEY
Declaration
public const string MIN_KEY = "min"
Field Value
Type | Description |
---|---|
System.String |
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 |