OpenSearch/modules/lang-mustache/src
bellengao e2effa9fab Fix inaccurate total hit count in _search template api (#53155)
When 'rest_track_total_hits_as_int' is set to true, the total hits count in the response should be accurate. So we should set trackTotalHits to true if need when parsing the inline script of a search template request.

Closes #52801
2020-03-16 11:48:43 +01:00
..
main Fix inaccurate total hit count in _search template api (#53155) 2020-03-16 11:48:43 +01:00
test Fix inaccurate total hit count in _search template api (#53155) 2020-03-16 11:48:43 +01:00