SearchQuery

October 23, 2025 ยท View on GitHub

Defines a query structure for performing search operations

Properties

NameTypeDescriptionNotes
query_stringstrFilter object defining a query string[optional]
matchobjectFilter object defining a match keyword passed as a string or in a Match object[optional]
match_phraseobjectFilter object defining a match phrase[optional]
match_allobjectFilter object to select all documents[optional]
boolBoolFilter[optional]
equalsobject[optional]
var_inobjectFilter to match a given set of attribute values.[optional]
rangeobjectFilter to match a given range of attribute values passed in Range objects[optional]
geo_distanceGeoDistance[optional]
highlightHighlight[optional]

Example

from manticoresearch.models.search_query import SearchQuery

# TODO update the JSON string below
json = "{}"
# create an instance of SearchQuery from a JSON string
search_query_instance = SearchQuery.from_json(json)
# print the JSON string representation of the object
print(SearchQuery.to_json())

# convert the object into a dict
search_query_dict = search_query_instance.to_dict()
# create an instance of SearchQuery from a dict
search_query_from_dict = SearchQuery.from_dict(search_query_dict)

[Back to Model list] [Back to API list] [Back to README]