StopwordsTokenFilter 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
StopwordsTokenFilter() |
Initializes a new instance of the StopwordsTokenFilter class. |
StopwordsTokenFilter(String, IList<String>, Nullable<StopwordsList>, Nullable<Boolean>, Nullable<Boolean>) |
Initializes a new instance of the StopwordsTokenFilter class. |
StopwordsTokenFilter()
- Source:
- StopwordsTokenFilter.cs
Initializes a new instance of the StopwordsTokenFilter class.
public StopwordsTokenFilter ();
Public Sub New ()
Applies to
StopwordsTokenFilter(String, IList<String>, Nullable<StopwordsList>, Nullable<Boolean>, Nullable<Boolean>)
- Source:
- StopwordsTokenFilter.cs
Initializes a new instance of the StopwordsTokenFilter class.
public StopwordsTokenFilter (string name, System.Collections.Generic.IList<string> stopwords = default, Microsoft.Azure.Search.Models.StopwordsList? stopwordsList = default, bool? ignoreCase = default, bool? removeTrailingStopWords = default);
new Microsoft.Azure.Search.Models.StopwordsTokenFilter : string * System.Collections.Generic.IList<string> * Nullable<Microsoft.Azure.Search.Models.StopwordsList> * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.Search.Models.StopwordsTokenFilter
Public Sub New (name As String, Optional stopwords As IList(Of String) = Nothing, Optional stopwordsList As Nullable(Of StopwordsList) = Nothing, Optional ignoreCase As Nullable(Of Boolean) = Nothing, Optional removeTrailingStopWords 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.
The list of stopwords. This property and the stopwords list property cannot both be set.
- stopwordsList
- Nullable<StopwordsList>
A predefined list of stopwords to use. This property and the stopwords property cannot both be set. Default is English. Possible values include: 'arabic', 'armenian', 'basque', 'brazilian', 'bulgarian', 'catalan', 'czech', 'danish', 'dutch', 'english', 'finnish', 'french', 'galician', 'german', 'greek', 'hindi', 'hungarian', 'indonesian', 'irish', 'italian', 'latvian', 'norwegian', 'persian', 'portuguese', 'romanian', 'russian', 'sorani', 'spanish', 'swedish', 'thai', 'turkish'
A value indicating whether to ignore case. If true, all words are converted to lower case first. Default is false.
A value indicating whether to ignore the last search term if it's a stop word. Default is true.
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