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>
Inheritance
System.Object
KeepWordFilterFactory
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class KeepWordFilterFactory : TokenFilterFactory, IResourceLoaderAware
Constructors
|
Improve this Doc
View Source
KeepWordFilterFactory(IDictionary<String, String>)
Declaration
public KeepWordFilterFactory(IDictionary<string, string> args)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.String> |
args |
|
Properties
|
Improve this Doc
View Source
EnablePositionIncrements
Declaration
public virtual bool EnablePositionIncrements { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IgnoreCase
Declaration
public virtual bool IgnoreCase { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Words
Declaration
public virtual CharArraySet Words { get; }
Property Value
Methods
|
Improve this Doc
View Source
Create(TokenStream)
Declaration
public override TokenStream Create(TokenStream input)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
Declaration
public virtual void Inform(IResourceLoader loader)
Parameters
Implements