Thanks Hoss.
Yes, that approach would work as I can change the query.
Is there a way to extend the Edismax Handler to read a config file at
startup and then use some events like commit to instruct edismax handler to
re-read the config file.
That way, I can ensure that my boost params are just on
: Then, If I find that results are not of my liking then I would like to
: change the boost as following
:
: - Title - boosted to 2
: -Keyword - boosted to 10
:
: Is there any way to change this boost, at run-time, without having to
: restart solr with new boosts in edismax?
edismax field boost
Hi Saroj,
You could use the boost function in a FunctionQuery. Something similar to,
_val_:Title^10 and _val_:Keyword^2
_val_:Title^2 and _val_:Keyword^10
See
http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documentson
how to use the boost function.
Thanks,
Indik