BM25 for query itself

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

BM25 for query itself

bohdan
Hi,

I'm wondering is there away to calculate BM25 score for the query itself (query-against-query)?
Adding it to index seems to be invalid solution as it will influent the tf-idf of the index and make it corrupted.

Thank you,
Bohdan  

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2183d2cc-a997-4397-aa0b-c5ac2fcedd71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: BM25 for query itself

Ivan Brusic

Isn't the point of BM25 to use variable document length normalization? It works when used on the entire index/corpus. It is meant to influence the TF values.

Comparing results between Lucene queries is not advisable. Why did you switch to BM25? Do you field lengths vary much?

Cheers,

Ivan

On Apr 15, 2015 3:14 AM, "bohdan" <[hidden email]> wrote:
Hi,

I'm wondering is there away to calculate BM25 score for the query itself (query-against-query)?
Adding it to index seems to be invalid solution as it will influent the tf-idf of the index and make it corrupted.

Thank you,
Bohdan  

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2183d2cc-a997-4397-aa0b-c5ac2fcedd71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQBkoZPJa%2Ba6urcjHtP3xeYHHP5Jb39cFFXPLS09PACuPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.