Elasticsearch: Fix using multiple indexes with comma separated string (#71284)

* Revert "Elasticsearch: Use array of strings as index in backend queries (#67276)"

This reverts commit d0ced39847.

* updated tests
This commit is contained in:
Gábor Farkas
2023-07-11 09:47:16 +02:00
committed by GitHub
parent 1f83d64072
commit e17540bdcd
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ func (c *baseClientImpl) createMultiSearchRequests(searchRequests []*SearchReque
header: map[string]interface{}{
"search_type": "query_then_fetch",
"ignore_unavailable": true,
"index": c.indices,
"index": strings.Join(c.indices, ","),
},
body: searchReq,
interval: searchReq.Interval,