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>
Inherited Members
System.Object.ToString()
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 class KeepWordFilterFactory : TokenFilterFactory, IResourceLoaderAware
Constructors
Name | Description |
---|---|
KeepWordFilterFactory(IDictionary<String, String>) | Creates a new KeepWordFilterFactory |
Properties
Name | Description |
---|---|
EnablePositionIncrements | |
IgnoreCase | |
Words |
Methods
Name | Description |
---|---|
Create(TokenStream) | |
Inform(IResourceLoader) |