HitsHits

February 13, 2026 ยท View on GitHub

Search hit representing a matched document

Properties

NameTypeDescriptionNotes
idintThe ID of the matched document[optional]
scoreintThe score of the matched document[optional]
sourceobjectThe source data of the matched document[optional]
knn_distfloatThe knn distance of the matched document returned for knn queries[optional]
highlightobjectThe highlighting-related data of the matched document[optional]
tablestrThe table name of the matched document returned for percolate queries[optional]
type_strThe type of the matched document returned for percolate queries[optional]
fieldsobjectThe percolate-related fields of the matched document returned for percolate queries[optional]

Example

from manticoresearch.models.hits_hits import HitsHits

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

# convert the object into a dict
hits_hits_dict = hits_hits_instance.to_dict()
# create an instance of HitsHits from a dict
hits_hits_from_dict = HitsHits.from_dict(hits_hits_dict)

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