StemmerOverrideTokenFilter(String, IEnumerable<String>) Constructor
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.
Initializes a new instance of StemmerOverrideTokenFilter.
public StemmerOverrideTokenFilter (string name, System.Collections.Generic.IEnumerable<string> rules);
new Azure.Search.Documents.Indexes.Models.StemmerOverrideTokenFilter : string * seq<string> -> Azure.Search.Documents.Indexes.Models.StemmerOverrideTokenFilter
Public Sub New (name As String, rules As IEnumerable(Of String))
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.
- rules
- IEnumerable<String>
A list of stemming rules in the following format: "word => stem", for example: "ran => run".
Exceptions
name
or rules
is null.