CommonGramTokenFilter Constructors

Definition

Overloads

CommonGramTokenFilter()

Initializes a new instance of the CommonGramTokenFilter class.

CommonGramTokenFilter(String, IList<String>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the CommonGramTokenFilter class.

CommonGramTokenFilter()

Initializes a new instance of the CommonGramTokenFilter class.

public CommonGramTokenFilter ();
Public Sub New ()

CommonGramTokenFilter(String, IList<String>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the CommonGramTokenFilter class.

public CommonGramTokenFilter (string name, System.Collections.Generic.IList<string> commonWords, Nullable<bool> ignoreCase = null, Nullable<bool> useQueryMode = null);
new Microsoft.Azure.Search.Models.CommonGramTokenFilter : string * System.Collections.Generic.IList<string> * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.Search.Models.CommonGramTokenFilter
Public Sub New (name As String, commonWords As IList(Of String), Optional ignoreCase As Nullable(Of Boolean) = null, Optional useQueryMode As Nullable(Of Boolean) = null)

Parameters

name
String

The name of the token filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters.

commonWords
IList<String>

The set of common words.

ignoreCase
Nullable<Boolean>

A value indicating whether common words matching will be case insensitive. Default is false.

useQueryMode
Nullable<Boolean>

A value that indicates whether the token filter is in query mode. When in query mode, the token filter generates bigrams and then removes common words and single terms followed by a common word. Default is false.

Applies to