Class CommonGramsTokenFilter
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class CommonGramsTokenFilter : TokenFilterBase, ICommonGramsTokenFilter, ITokenFilter
Constructors
| Edit this page View SourceCommonGramsTokenFilter()
Declaration
public CommonGramsTokenFilter()
Properties
| Edit this page View SourceCommonWords
A list of common words to use.
Declaration
public IEnumerable<string> CommonWords { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
CommonWordsPath
A path (either relative to config location, or absolute) to a list of common words.
Declaration
public string CommonWordsPath { get; set; }
Property Value
Type | Description |
---|---|
string |
IgnoreCase
If true, common words matching will be case insensitive.
Declaration
public bool? IgnoreCase { get; set; }
Property Value
Type | Description |
---|---|
bool? |
QueryMode
Generates bigrams then removes common words and single terms followed by a common word.
Declaration
public bool? QueryMode { get; set; }
Property Value
Type | Description |
---|---|
bool? |