Re: How to change the boost of fields in edismx at runtime

2012-11-05 Thread roz dev
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

Re: How to change the boost of fields in edismx at runtime

2012-11-01 Thread Chris Hostetter
: 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

Re: How to change the boost of fields in edismx at runtime

2012-10-30 Thread Indika Tantrigoda
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