Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PatternAnalyzer

Package version

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

Hierarchy

  • PatternAnalyzer

Index

Properties

Optional flags

flags: RegexFlags

Regular expression flags. Possible values include: 'CANON_EQ', 'CASE_INSENSITIVE', 'COMMENTS', 'DOTALL', 'LITERAL', 'MULTILINE', 'UNICODE_CASE', 'UNIX_LINES'

Optional lowerCaseTerms

lowerCaseTerms: undefined | false | true

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

name

name: string

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.

odatatype

odatatype: "#Microsoft.Azure.Search.PatternAnalyzer"

Polymorphic Discriminator

Optional pattern

pattern: undefined | string

A regular expression pattern to match token separators. Default is an expression that matches one or more whitespace characters. Default value: '\W+'.

Optional stopwords

stopwords: string[]

A list of stopwords.

Generated using TypeDoc