다음을 통해 공유


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.

public class PatternCaptureTokenFilter : Azure.Search.Documents.Indexes.Models.TokenFilter
type PatternCaptureTokenFilter = class
    inherit TokenFilter
Public Class PatternCaptureTokenFilter
Inherits TokenFilter
Inheritance
PatternCaptureTokenFilter

Constructors

PatternCaptureTokenFilter(String, IEnumerable<String>)

Initializes a new instance of PatternCaptureTokenFilter.

Properties

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.

(Inherited from TokenFilter)
Patterns

A list of patterns to match against each token.

PreserveOriginal

A value indicating whether to return the original token even if one of the patterns matches. Default is true.

Applies to