i am trying to convert reponse from elastic search object in json
jsonvar.append(hit.to_dict())
but i also want meta of response to be converted with the same object. Because in the response it is only returning result ( nor the model information, nor the index information ) it is in the separate object for Example hit.meta contains meta information and hit contain result.
i am trying to convert reponse from elastic search object in json
jsonvar.append(hit.to_dict())
but i also want meta of response to be converted with the same object. Because in the response it is only returning result ( nor the model information, nor the index information ) it is in the separate object for Examplehit.meta
contains meta information andhit
contain result.