You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should support multiple index searches with date math index name resolution. However, this does not work if one or more index uses date math resolution. Searches of multiple date math indices work fine using curl, but the golang elastic API returns a 404 error from ES.
I would expect to be able to specify multiple indices with date math resolution in a single search query. However, ES returns a 404 error: elastic: Error 400 (Bad Request)
We should support multiple index searches with date math index name resolution. However, this does not work if one or more index uses date math resolution. Searches of multiple date math indices work fine using
curl
, but the golang elastic API returns a 404 error from ES.Which version of Elastic are you using?
[latest commit] elastic.v6 (for Elasticsearch 6.x)
Expected behavior
Be able to specify and return search results for multiple indices using date math index name resolution. This works correctly with curl.
Example URL
This should return two indices for the current day and past day.
Expected Return (shortened)
Again, this works fine when using curl.
Actual behavior
I would expect to be able to specify multiple indices with date math resolution in a single search query. However, ES returns a 404 error:
elastic: Error 400 (Bad Request)
Code
Any steps to reproduce the behavior?
This happens consistently when using the client API. Works fine from curl.
The text was updated successfully, but these errors were encountered: