How to find out why certain document matches the query

Hello Elastic Users,

In Endeca world, there is a special property called "WhyDidItMatch"
which is pretty helpful in determining why certain documents is part
of a result set. Apologies for using Endeca as point of reference by
the way.

Do we have such equivalent status/functionality in ElasticSearch?

Regards,
Raul

Hi,

Did you try using explain?
http://www.elasticsearch.org/guide/reference/api/search/explain.html

Regards,
Lukas

On Tuesday, July 5, 2011, rmartinez juneym@gmail.com wrote:
> Hello Elastic Users,
>
> In Endeca world, there is a special property called
"WhyDidItMatch"
> which is pretty helpful in determining why certain documents is part
> of a result set. Apologies for using Endeca as point of reference by
> the way.
>
> Do we have such equivalent status/functionality in ElasticSearch?
>
>
> Regards,
> Raul
>

Hi Lukas,

Interesting. I didn't realize this. I will try this out. Thanks!

Raul

On Jul 6, 12:10 am, Lukáš Vlček lukas.vl...@gmail.com wrote:

Hi,

Did you try using explain?Elasticsearch Platform — Find real-time answers at scale | Elastic

Regards,
Lukas

On Tuesday, July 5, 2011, rmartinez jun...@gmail.com wrote:

> Hello Elastic Users,
>
> In Endeca world, there is a special property called
"WhyDidItMatch"
> which is pretty helpful in determining why certain documents is part
> of a result set. Apologies for using Endeca as point of reference by
> the way.
>
> Do we have such equivalent status/functionality in Elasticsearch?
>
>
> Regards,
> Raul
>