'indices' query deprecated in ES 5

Bug #1657910 reported by Steve McLellan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Searchlight
New
Medium
Unassigned

Bug Description

https://www.elastic.co/guide/en/elasticsearch/reference/5.x/query-dsl-indices-query.html

We use the indices query when an index is specified. From ES 5 onwards, this should instead search on the _index field. This should also work in ES 2.x

Revision history for this message
Lei Zhang (lei-a-zhang) wrote :

Take a look at this, but query on '_index' field doesn't play well with alias, so I'm afraid we could not replace indices query right now. Someone has reported this bug to ES community already, see https://github.com/elastic/elasticsearch/issues/23306

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.