The following query gets the error:
"[filtered] requires a 'query' element"
yet its clear from the json dump of the query that 'query' is in the
'filtered' dictionary, so what's the real problem?
The query is malformed. The or/and filters need an inner filters element
in them. What happens is that it screws up the pull parsing. I just pushed
some things to improve on that. The first is to throw an exception if no
filters are identified for or/and parsing. The second is nicer format for
it: http://github.com/elasticsearch/elasticsearch/issues/issue/336.
One more thing, the size and from should be "top level" fields.
The following query gets the error:
"[filtered] requires a 'query' element"
yet its clear from the json dump of the query that 'query' is in the
'filtered' dictionary, so what's the real problem?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.