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. :) > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2cdd8cf4-f45c-465b-b91c-e5e495571580%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
