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
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.CommonGrams
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class CommonGramsQueryFilterFactory : CommonGramsFilterFactory, IResourceLoaderAware
Constructors
| Improve this Doc View SourceCommonGramsQueryFilterFactory(IDictionary<String, String>)
Creates a new CommonGramsQueryFilterFactory
Declaration
public CommonGramsQueryFilterFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | args |
Methods
| Improve this Doc View SourceCreate(TokenStream)
Create a CommonGramsFilter and wrap it with a CommonGramsQueryFilter
Declaration
public override TokenStream Create(TokenStream input)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Analysis.TokenStream | input |
Returns
Type | Description |
---|---|
Lucene.Net.Analysis.TokenStream |