PatternCaptureTokenFilter Class
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.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.search.documents.indexes._generated.models._models_py3.TokenFilterPatternCaptureTokenFilter
Constructor
PatternCaptureTokenFilter(*, name: str, patterns: List[str], preserve_original: Optional[bool] = True, **kwargs)
Parameters
- odata_type
- str
Required. Identifies the concrete type of the token filter.Constant filled by server.
- name
- str
Required. 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.
- preserve_original
- bool
A value indicating whether to return the original token even if one of the patterns matches. Default is true.
Feedback
Submit and view feedback for