Hi,
the question is, that having absolute same records in elastic search
engine, we send a query with a 100% match on the index field. But viewing
the score, it's
descending slowly in different steps: 1,3,5 times the same grouped score...
Is this a feature or a bug?
1 Token 10 times the same content, 3 scores as described above...
Thank you for your support!
Regards Phil
--
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.
Hiya
On Fri, 2013-02-01 at 01:44 -0800, Philipp Frenzel wrote:
Hi,
the question is, that having absolute same records in Elasticsearch
engine, we send a query with a 100% match on the index field. But
viewing the score, it's
descending slowly in different steps: 1,3,5 times the same grouped
score...
You haven't provided any example code, so I'm guessing about what you're
doing. But it is likely that you are running into the distributed
nature of ES.
Term frequencies are stored per shard. By default, you have 5 shards,
each with their own term frequencies (which will thus produce different
scores).
With more data, the distribution tends to even out, but with small
amounts of data, or rarely used terms, there can be differences.
Try adding this to your query string: search_type=dfs_query_then_fetch
That calculates the terms across all shards before running the query
clint
--
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 think this solved it - thanks!
search_type=dfs_query_then_
fetch
2013/2/1 Clinton Gormley clint@traveljury.com
Hiya
On Fri, 2013-02-01 at 01:44 -0800, Philipp Frenzel wrote:
Hi,
the question is, that having absolute same records in Elasticsearch
engine, we send a query with a 100% match on the index field. But
viewing the score, it's
descending slowly in different steps: 1,3,5 times the same grouped
score...
You haven't provided any example code, so I'm guessing about what you're
doing. But it is likely that you are running into the distributed
nature of ES.
Term frequencies are stored per shard. By default, you have 5 shards,
each with their own term frequencies (which will thus produce different
scores).
With more data, the distribution tends to even out, but with small
amounts of data, or rarely used terms, there can be differences.
Try adding this to your query string: search_type=dfs_query_then_fetch
That calculates the terms across all shards before running the query
clint
--
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.
--
Mit freundlichen Grüßen
Philipp Frenzel
Vertriebsbeauftragter
Wilken GmbH
--
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.