Class CommonGramsQueryFilterFactory
Construct CommonGramsQueryFilter.
<fieldType name="text_cmmngrmsqry" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.CommonGramsQueryFilterFactory" words="commongramsquerystopwords.txt" ignoreCase="false"/>
</analyzer>
</fieldType>
Inheritance
System.Object
CommonGramsQueryFilterFactory
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 CommonGramsQueryFilterFactory : CommonGramsFilterFactory, IResourceLoaderAware
Constructors
Name | Description |
---|---|
CommonGramsQueryFilterFactory(IDictionary<String, String>) | Creates a new CommonGramsQueryFilterFactory |
Methods
Name | Description |
---|---|
Create(TokenStream) | Create a CommonGramsFilter and wrap it with a CommonGramsQueryFilter |