elasticsearch/elasticsearch — Issue #1687: Spurious action error message when attemping to do nested queries on empty indexes
Author: Alex-Ikanow
Created: 2012-02-08 22:57:50+00:00
State: open

This is mainly just an irritation (I think - the es instance crashed but I had been messing about with JVM settings so it was likely unrelated)

https://gist.github.com/1775185

"doc_dummy" in the above gist is an empty index that has lots of aliases (users always have their own personal index, but until it gets loaded with data it redirects to this empty index, to avoid having 100s of them).

So it looks like because "doc_dummy" has no documents (and hence presumably no documents containing nested objects), that my searches that contain nested elements (queries and facets) cause errors, filling up my log and making it harder to debug any real errors.

Is there any workaround other than to create a dummy document containing a nested object of the various types?