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
ignore_indices=missing doesn't fail if all the indices requested are not present, it defaults to searching everything which is far from desirable, specially when doing a heavy facet (e.g. termstats) in a daily index case (e.g. logs_2013-04-01) and there is no data indexed for the day
To reproduce start a node and index any document to index "A" then curl this:
Tried on 0.20.6 this returns the document just indexed to index "A".
If that is the expected behavior for the 'missing' value then I suggest adding another value to ignore_indices, for example "ignore_indices=missing_some" that will fail if none of the queried indices are there
The text was updated successfully, but these errors were encountered:
mahdeto
added a commit
to mahdeto/elasticsearch
that referenced
this issue
Apr 2, 2013
ignore_indices=missing doesn't fail if all the indices requested are not present, it defaults to searching everything which is far from desirable, specially when doing a heavy facet (e.g. termstats) in a daily index case (e.g. logs_2013-04-01) and there is no data indexed for the day
To reproduce start a node and index any document to index "A" then curl this:
curl 'http://localhost:9200/B,C/_search?ignore_indices=missing&pretty'
Tried on 0.20.6 this returns the document just indexed to index "A".
If that is the expected behavior for the 'missing' value then I suggest adding another value to ignore_indices, for example "ignore_indices=missing_some" that will fail if none of the queried indices are there
The text was updated successfully, but these errors were encountered: