Class KeepWordFilterFactory
Factory for KeepWordFilter.
<fieldType name="text_keepword" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.KeepWordFilterFactory" words="keepwords.txt" ignoreCase="false"/>
</analyzer>
</fieldType>
Implements
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 KeepWordFilterFactory : TokenFilterFactory, IResourceLoaderAware
Constructors
| Improve this Doc View SourceKeepWordFilterFactory(IDictionary<String, String>)
Creates a new KeepWordFilterFactory
Declaration
public KeepWordFilterFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | args |
Properties
| Improve this Doc View SourceEnablePositionIncrements
Declaration
public virtual bool EnablePositionIncrements { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IgnoreCase
Declaration
public virtual bool IgnoreCase { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Words
Declaration
public virtual CharArraySet Words { get; }
Property Value
Type | Description |
---|---|
CharArraySet |
Methods
| Improve this Doc View SourceCreate(TokenStream)
Declaration
public override TokenStream Create(TokenStream input)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | input |
Returns
Type | Description |
---|---|
TokenStream |
Overrides
| Improve this Doc View SourceInform(IResourceLoader)
Declaration
public virtual void Inform(IResourceLoader loader)
Parameters
Type | Name | Description |
---|---|---|
IResourceLoader | loader |