models.go
6.78 KB
-
Elasticsearch: Fix pre-v7.0 and alerting error (#16904) · 32a45077
This fixes a regression introduced in #16646 where using Elasticsearch pre-v7.0 and alerting resulted in an error when trying to deserialize the response of total number of hits. Total number of hits is not in use by the backend so we're removing it for now to make ES 6 and 7 being able to deserialize search responses without errors. Closes #15622
Marcus Efraimsson committed