CommonGramTokenFilter Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
- Source:
- CommonGramTokenFilter.cs
Initializes a new instance of the CommonGramTokenFilter class.
public CommonGramTokenFilter ();
Public Sub New ()
Applies to
CommonGramTokenFilter(String, IList<String>, Nullable<Boolean>, Nullable<Boolean>)
- Source:
- CommonGramTokenFilter.cs
Initializes a new instance of the CommonGramTokenFilter class.
public CommonGramTokenFilter (string name, System.Collections.Generic.IList<string> commonWords, bool? ignoreCase = default, bool? useQueryMode = default);
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) = Nothing, Optional useQueryMode As Nullable(Of Boolean) = Nothing)
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.
A value indicating whether common words matching will be case insensitive. Default is false.
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for