Global Scores in ElasticSearch


(Phani) #1

Hi,

I'm new to ElasticSearch and just started learning about it. I'm
wondering if the relevancy scores reflect the global score i.e. lets say if
we are using simple TF-IDF as our relevance measure, is the TF-IDF computed
across all the documents for the index (across all shards) or only for that
shard ?

Also, how does some of the search parameters like rows, sort by etc.. work
across shards.

Thanks.

--
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.


(Ivan Brusic) #2

By default, TFIDF values are calculated per shard. You can change your
query to use distributed term frequencies across an index. For more
information, see the documentation on search types:
http://www.elasticsearch.org/guide/reference/api/search/search-type/

Cheers,

Ivan

On Mon, Sep 23, 2013 at 11:53 AM, Phani Chaitanya pvempaty.usc@gmail.comwrote:

Hi,

I'm new to ElasticSearch and just started learning about it. I'm
wondering if the relevancy scores reflect the global score i.e. lets say if
we are using simple TF-IDF as our relevance measure, is the TF-IDF computed
across all the documents for the index (across all shards) or only for that
shard ?

Also, how does some of the search parameters like rows, sort by etc.. work
across shards.

Thanks.

--
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.


(Phani) #3

Thanks for the pointers.

On Monday, September 23, 2013 11:23:00 PM UTC-7, Ivan Brusic wrote:

By default, TFIDF values are calculated per shard. You can change your
query to use distributed term frequencies across an index. For more
information, see the documentation on search types:
http://www.elasticsearch.org/guide/reference/api/search/search-type/

Cheers,

Ivan

On Mon, Sep 23, 2013 at 11:53 AM, Phani Chaitanya <pvempa...@gmail.com<javascript:>

wrote:

Hi,

I'm new to ElasticSearch and just started learning about it. I'm
wondering if the relevancy scores reflect the global score i.e. lets say if
we are using simple TF-IDF as our relevance measure, is the TF-IDF computed
across all the documents for the index (across all shards) or only for that
shard ?

Also, how does some of the search parameters like rows, sort by etc..
work across shards.

Thanks.

--
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 elasticsearc...@googlegroups.com <javascript:>.
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.


(system) #4