lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Tracey <mtra...@biblio.com>
Subject Is this a reasonable way to boost?
Date Thu, 07 Nov 2013 22:51:27 GMT
I'm trying to boost results slightly on a price (not currency) field that are closer to a certain
value.  I want results that are not too expensive or too inexpensive to be favored.  Here
is what we currently are trying:

bf=sub(1,abs(sub(15,price)))^0.2

where 15 is that "median" I want to boost towards.  Is this a good way?  I understand in older
solr's it was common to use recip(ord()) for this but you shouldn't do so now.

Thanks for any comments or advice on improving this.

M.




Mime
View raw message