On Mon, Feb 17, 2014 at 4:23 PM, Vallabh Bothre <[email protected]>wrote:
> As per your suggestion i used search type which execute the query on all > relevant shards and return the results. > "search_type" => "query_then_fetch" > As per > http://www.elasticsearch.org/guide/en/elasticsearch/ >> reference/current/search-request-search-type.html >> > this is the default search type used even when not explicitly specifying a search type. As per http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/index- >> modules-similarity.html >> > Elasticsearch uses TF/IDF as default similarity. For more information on how TF/IDF is computed see also the Lucene documentation: http://lucene.apache.org/core/4_0_0/core/org/apache/lucene/search/similarities/TFIDFSimilarity.html The different scores you are seeing is probably caused by different IDF scores on each shard. If you really need the exact IDF values on each shard you should checkout dfs_query_[and/then]_fetch. Isabel -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAFSgB-Bt6VN4oxEHy86YrS7NsvxDwEj9ids58PT-FEOd4WJZgw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
