Udostępnij za pośrednictwem


PatternAnalyzer Class

Definition

Flexibly separates text into terms via a regular expression pattern. This analyzer is implemented using Apache Lucene.

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

Constructors

PatternAnalyzer(String)

Initializes a new instance of PatternAnalyzer.

Properties

Flags

Gets regular expression flags for Pattern.

LowerCaseTerms

A value indicating whether terms should be lower-cased. Default is true.

Name

The name of the analyzer. 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 LexicalAnalyzer)
Pattern

A regular expression pattern to match token separators. Default is an expression that matches one or more non-word characters.

Stopwords

Gets a list of stopwords.

Applies to