Class DictionaryCompoundWordTokenFilterFactory
Factory for DictionaryCompoundWordTokenFilter.
<fieldType name="text_dictcomp" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.DictionaryCompoundWordTokenFilterFactory" dictionary="dictionary.txt"
minWordSize="5" minSubwordSize="2" maxSubwordSize="15" onlyLongestMatch="true"/>
</analyzer>
</fieldType>
Inheritance
System.Object
DictionaryCompoundWordTokenFilterFactory
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 DictionaryCompoundWordTokenFilterFactory : TokenFilterFactory, IResourceLoaderAware
Constructors
Name | Description |
---|---|
DictionaryCompoundWordTokenFilterFactory(IDictionary<String, String>) | Creates a new DictionaryCompoundWordTokenFilterFactory |
Methods
Name | Description |
---|---|
Create(TokenStream) | |
Inform(IResourceLoader) |