다음을 통해 공유


StemmerOverrideTokenFilter Class

Definition

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. http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/StemmerOverrideFilter.html

[Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.StemmerOverrideTokenFilter")]
public class StemmerOverrideTokenFilter : Microsoft.Azure.Search.Models.TokenFilter
[<Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.StemmerOverrideTokenFilter")>]
type StemmerOverrideTokenFilter = class
    inherit TokenFilter
Public Class StemmerOverrideTokenFilter
Inherits TokenFilter
Inheritance
StemmerOverrideTokenFilter
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

StemmerOverrideTokenFilter()

Initializes a new instance of the StemmerOverrideTokenFilter class.

StemmerOverrideTokenFilter(String, IList<String>)

Initializes a new instance of the StemmerOverrideTokenFilter class.

Properties

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)
Rules

Gets or sets a list of stemming rules in the following format: "word =&gt; stem", for example: "ran =&gt; run".

Methods

Validate()

Validate the object.

Applies to