Files
developer.sailpoint.com/docs/tools/sdk/python/Reference/V3/Models/TextQuery.md
2025-02-20 12:59:19 -05:00

1.3 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
text-query TextQuery TextQuery TextQuery pythonsdk
python
Python
sdk
TextQuery
TextQuery
/tools/sdk/python/v3/models/text-query
SDK
Software Development Kit
TextQuery
TextQuery

TextQuery

Query parameters used to construct an Elasticsearch text query object.

Properties

Name Type Description Notes
terms []str Words or characters that specify a particular thing to be searched for. [required]
fields []str The fields to be searched. [required]
match_any bool Indicates that at least one of the terms must be found in the specified fields; otherwise, all terms must be found. [optional] [default to False]
contains bool Indicates that the terms can be located anywhere in the specified fields; otherwise, the fields must begin with the terms. [optional] [default to False]
}

Example

from sailpoint.v3.models.text_query import TextQuery

text_query = TextQuery(
terms=[The quick brown fox, 3141592, 7],
fields=[displayName, employeeNumber, roleCount],
match_any=False,
contains=True
)

[Back to top]