Class StemmerOverrideTokenFilter
Provides the ability to override other stemming filters with custom dictionary-based stemming. Any dictionary-stemmed terms will be marked as keywords so that they will not be stemmed with stemmers down the chain. Must be placed before any stemming filters. This token filter is implemented using Apache Lucene.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public class StemmerOverrideTokenFilter : Azure.Search.Documents.Indexes.Models.TokenFilter
Constructors
StemmerOverrideTokenFilter(String, IEnumerable<String>)
Initializes a new instance of StemmerOverrideTokenFilter.
Declaration
public StemmerOverrideTokenFilter (string name, System.Collections.Generic.IEnumerable<string> rules);
Parameters
System.String
name
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. |
System.Collections.Generic.IEnumerable<System.String>
rules
A list of stemming rules in the following format: "word => stem", for example: "ran => run". |
Exceptions
System.ArgumentNullException
|
Properties
Rules
A list of stemming rules in the following format: "word => stem", for example: "ran => run".
Declaration
public System.Collections.Generic.IList<string> Rules { get; }
Property Value
System.Collections.Generic.IList<System.String>
|