StopwordsTokenFilter Class
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.
Removes stop words from a token stream. This token filter is implemented using Apache Lucene. http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/StopFilter.html
[Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.StopwordsTokenFilter")]
public class StopwordsTokenFilter : Microsoft.Azure.Search.Models.TokenFilter
[<Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.StopwordsTokenFilter")>]
type StopwordsTokenFilter = class
inherit TokenFilter
Public Class StopwordsTokenFilter
Inherits TokenFilter
- Inheritance
- Attributes
-
Newtonsoft.Json.JsonObjectAttribute
Constructors
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. |
Properties
IgnoreCase |
Gets or sets a value indicating whether to ignore case. If true, all words are converted to lower case first. Default is false. |
Name |
Gets or sets 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. (Inherited from TokenFilter) |
RemoveTrailingStopWords |
Gets or sets a value indicating whether to ignore the last search term if it's a stop word. Default is true. |
Stopwords |
Gets or sets the list of stopwords. This property and the stopwords list property cannot both be set. |
StopwordsList |
Gets or sets 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' |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET