PatternAnalyzer Class
Flexibly separates text into terms via a regular expression. This analyzer is implemented using Apache Lucene.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.search.documents.indexes._generated.models._models_py3.LexicalAnalyzerPatternAnalyzer
Constructor
PatternAnalyzer(**kwargs)
Parameters
- name
- str
Required. 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.
- lower_case_terms
- bool
A value indicating whether terms should be lower-cased. Default is true.
- pattern
- str
A regular expression to match token separators. Default is an expression that matches one or more white space characters.
List of regular expression flags. Possible values of each flag include: 'CANON_EQ', 'CASE_INSENSITIVE', 'COMMENTS', 'DOTALL', 'LITERAL', 'MULTILINE', 'UNICODE_CASE', 'UNIX_LINES'.
Feedback
Submit and view feedback for