다음을 통해 공유


PatternCaptureTokenFilter Class

Definition

Uses Java regexes to emit multiple tokens - one for each capture group in one or more patterns. This token filter is implemented using Apache Lucene. http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/pattern/PatternCaptureGroupTokenFilter.html

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

Constructors

PatternCaptureTokenFilter()

Initializes a new instance of the PatternCaptureTokenFilter class.

PatternCaptureTokenFilter(String, IList<String>, Nullable<Boolean>)

Initializes a new instance of the PatternCaptureTokenFilter 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)
Patterns

Gets or sets a list of patterns to match against each token.

PreserveOriginal

Gets or sets a value indicating whether to return the original token even if one of the patterns matches. Default is true.

Methods

Validate()

Validate the object.

Applies to