I wanted to know what param should be used to provide a function query boost. Given two records
that have the same relevance, I want to boost one record over the other based on a numeric field
: I wanted to know what param should be used to provide a function query
: boost. Given two records
: that have the same relevance, I want to boost one record over the other
: based on a numeric field
: called profile_score.
from the standard request handler you can add something like...
...to your query to add a function query using the raw value from your
field, you could also do a more complicated combintion of linear and
reciprical functions on that value...
If you are using the dismax handler, there is a quecial query param "bf"
for specifying boost functions that does not require the "_val_:" syntax
to trick the QueryParser...