olivere / elastic

Deprecated: Use the official Elasticsearch client for Go at https://github.com/elastic/go-elasticsearch
https://olivere.github.io/elastic/
MIT License
7.39k stars 1.15k forks source link

cannot unmarshal object into Go struct field ProductHits.hits.total of type int #1682

Closed sunthree74 closed 7 months ago

sunthree74 commented 7 months ago

Please use the following questions as a guideline to help me answer your issue/question without further inquiry. Thank you.

Which version of Elastic are you using?

elastic.v7 (for Elasticsearch 7.x)

Please describe the expected behavior

why i have this error

Please describe the actual behavior

Any steps to reproduce the behavior?