Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.38 KB

SearchResponse.md

File metadata and controls

33 lines (24 loc) · 1.38 KB

SearchResponse

Response object containing the results of a search request

Properties

Name Type Description Notes
took int Time taken to execute the search [optional]
timed_out bool Indicates whether the search operation timed out [optional]
aggregations object Aggregated search results grouped by the specified criteria [optional]
hits SearchResponseHits [optional]
profile object Profile information about the search execution, if profiling is enabled [optional]
warning object Warnings encountered during the search operation [optional]

Example

from manticoresearch.models.search_response import SearchResponse

# 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]