You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Russell Jurney <ru...@gmail.com> on 2020/07/17 04:04:50 UTC

How do I use dismax or edismax to rank using 60% tf-idf and 40% a numeric field?

Hello Solarians,

I know how to boost a query and I see the methods for tf and idf in
streaming scripting. What I don’t know is how to incorporate these things
together at a specific percentage of the ranking function.

How do I write a query to use dismax or edismax to rank using 60% tf-idf
score and 40% the value of a numeric field?

Thanks,
Russ
-- 

Thanks,
Russell Jurney @rjurney <http://twitter.com/rjurney>
russell.jurney@gmail.com LI <http://linkedin.com/in/russelljurney> FB
<http://facebook.com/jurney> datasyndrome.com