Shows me how to get explain for a query and a given document, but i want to
explain for all (top 10 or 20 results, that i requested) the documents that
are returned. Is there any parameter i can enable to get that information ?
Caused by: org.elasticsearch.index.query.QueryParsingException: [designs]
[_na] query malformed, no field after start_object
at
org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:216)
Without the explain line the above query works. What is the real syntax for
explain along with function_score ?
Thanks
Srini
On Friday, April 4, 2014 3:20:16 PM UTC-7, Binh Ly wrote:
Thanks for clearing it up for me. I was under the assumption that
everything should be under the query, coz when i tried removing the outer
query (earlier without the explain and just the function score) it didnt
work.
Can you tell me what are the things that goes inside the query and what can
go outside ? I am also confused coz there are two queries, one outside to
wrap function_score and one inside to represent the actual keyword.
Thanks
Srini
On Friday, April 4, 2014 3:58:17 PM UTC-7, Binh Ly wrote:
explain should be outside (same level) of query just like in my previous
example.
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.