共用方式為


StemmerOverrideTokenFilter(String, IEnumerable<String>) Constructor

Definition

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.

Applies to