SearchResponse

October 23, 2025 ยท View on GitHub

Response object containing the results of a search request

Properties

NameTypeDescriptionNotes
tookintTime taken to execute the search[optional]
timed_outboolIndicates whether the search operation timed out[optional]
aggregationsobjectAggregated search results grouped by the specified criteria[optional]
hitsSearchResponseHits[optional]
profileobjectProfile information about the search execution, if profiling is enabled[optional]
scrollstrScroll token to be used fo pagination[optional]
warningobjectWarnings encountered during the search operation[optional]

Example

from manticoresearch.models.search_response import SearchResponse

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

# convert the object into a dict
search_response_dict = search_response_instance.to_dict()
# create an instance of SearchResponse from a dict
search_response_from_dict = SearchResponse.from_dict(search_response_dict)

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