Unexpected Document Scoring


(thnguyen) #1

I'm seeing different scores for documents with the same field values.
I've indexed two documents that look exactly like the following but
with different ids:

{
"_index":"media",
"_type":"object",
"_id":"827003",
"_score":1.0,
"_source":{
"title":"Grand Theft Auto 2",
"alt_title":"GTA 4",
"some_number":7
}
}

I then run the following search:

{
"query":{
"query_string":{
"default_field":"title",
"query":"grand theft auto"
}
}
}

I expected the scoring of the two documents would be the same since
I'm searching against the 'title' field but that isn't the case. What
would be contributing to the different scores?


(Clinton Gormley) #2

On Thu, 2011-06-09 at 14:26 -0700, thnguyen wrote:

I'm seeing different scores for documents with the same field values.
I've indexed two documents that look exactly like the following but
with different ids:

See this reply for an explanation:

http://elasticsearch-users.115913.n3.nabble.com/Score-varying-for-same-values-tt3018717.html#a3019000

clint


(system) #3