Score is not 1

I am new to elastic search. I have indexed a document and searching the
document with same value. The index analyzer and search analyzer is same.
Still the score is 0.625.

Gist for analyzer and query https://gist.github.com/arjitgupta/5530830.

I have also explained the query
https://gist.github.com/arjitgupta/554501

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Why do you think you need a score equal to 1?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 9 mai 2013 à 04:18, Arjit Gupta arjit292@gmail.com a écrit :

I am new to elastic search. I have indexed a document and searching the document with same value. The index analyzer and search analyzer is same. Still the score is 0.625.

Gist for analyzer and query https://gist.github.com/arjitgupta/5530830.

I have also explained the query
https://gist.github.com/arjitgupta/554501

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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

I am assuming that if the input query matches the document which is indexed
its score should be approaching 1.
I know that it depends on tf and idf of the document , which is score in a
shard.
The problem I am facing is
"The beautiful book" and "the book beautiful" have the same score.

Thanks ,
Arjit

On Thu, May 9, 2013 at 8:03 AM, David Pilato david@pilato.fr wrote:

Why do you think you need a score equal to 1?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 9 mai 2013 à 04:18, Arjit Gupta arjit292@gmail.com a écrit :

I am new to Elasticsearch. I have indexed a document and searching the
document with same value. The index analyzer and search analyzer is same.
Still the score is 0.625.

Gist for analyzer and query Analyzer used to approx search and query · GitHub.

I have also explained the query
https://gist.github.com/arjitgupta/554501

--
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 elasticsearch+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/9ciBJMzHOZs/unsubscribe?hl=en-US
.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ok. It's a question of analysis.

"The beautiful book" has been indexed to:
"beautiful", "book"

When you search, your query is analyzed as well.

That's the reason of the same score.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 9 mai 2013 à 04:37, Arjit Gupta arjit292@gmail.com a écrit :

I am assuming that if the input query matches the document which is indexed its score should be approaching 1.
I know that it depends on tf and idf of the document , which is score in a shard.
The problem I am facing is
"The beautiful book" and "the book beautiful" have the same score.

Thanks ,
Arjit

On Thu, May 9, 2013 at 8:03 AM, David Pilato david@pilato.fr wrote:

Why do you think you need a score equal to 1?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 9 mai 2013 à 04:18, Arjit Gupta arjit292@gmail.com a écrit :

I am new to Elasticsearch. I have indexed a document and searching the document with same value. The index analyzer and search analyzer is same. Still the score is 0.625.

Gist for analyzer and query Analyzer used to approx search and query · GitHub.

I have also explained the query
https://gist.github.com/arjitgupta/554501

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 elasticsearch+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elasticsearch/9ciBJMzHOZs/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.