Re: How getting document match rate?

2015-03-31 Thread Terra Sacer
Hi guys, The Explain api returns coord in bool query. This could work. On Saturday, March 28, 2015 at 6:33:53 PM UTC+2, Terra Sacer wrote: Hello everyone, For example my data [ { id : 1, type : article, title : About the Java Technology }, { id : 2, type : article, title :

Re: How getting document match rate?

2015-03-30 Thread Terra Sacer
Hi Adrien, I know the explain api but I couldn't find the effective way of getting information from the api. Thanks. On Sunday, March 29, 2015 at 11:01:15 PM UTC+3, Adrien Grand wrote: Hi Terra, This information is not available. For debugging purposes though, you can use 'explain' to

Re: How getting document match rate?

2015-03-30 Thread Terra Sacer
I understand that, but if the relative even can be said %66 match to document that contains two of the three terms. On Sunday, March 29, 2015 at 11:11:28 PM UTC+3, Mark Walkom wrote: The scoring is relative to the other documents and as such there is no such thing as a 100% match. On 30

Re: How getting document match rate?

2015-03-29 Thread Terra Sacer
Is this not possible? On Saturday, March 28, 2015 at 6:33:53 PM UTC+2, Terra Sacer wrote: Hello everyone, For example my data [ { id : 1, type : article, title : About the Java Technology }, { id : 2, type : article, title : How does ElasticSearch work }, { id : 3, type

Re: How getting document match rate?

2015-03-29 Thread Adrien Grand
Hi Terra, This information is not available. For debugging purposes though, you can use 'explain' to have an explanation of how the score was computed, which will also tell you which clauses matched: http://www.elastic.co/guide/en/elasticsearch/reference/current/search-explain.html On Sun, Mar

Re: How getting document match rate?

2015-03-29 Thread Mark Walkom
The scoring is relative to the other documents and as such there is no such thing as a 100% match. On 30 March 2015 at 01:39, Terra Sacer terrasa...@gmail.com wrote: Is this not possible? On Saturday, March 28, 2015 at 6:33:53 PM UTC+2, Terra Sacer wrote: Hello everyone, For example my

How getting document match rate?

2015-03-28 Thread Terra Sacer
Hello everyone, For example my data [ { id : 1, type : article, title : About the Java Technology }, { id : 2, type : article, title : How does ElasticSearch work }, { id : 3, type : article, title : How to get the count of results ElasticSearch } ] When we run the following