Re: Boost query at search time according set of roles with least performance impact

2015-11-16 Thread Alessandro Benedetti
is the readability that is stopping you to use the bq parameter with all your roles ? A custom function is off course a way, but why you think is going to satisfy better your requirement in comparison with the bq ? Cheers On 13 November 2015 at 18:41, Andrea Open Source < andrearoggerone.o.

Re: Boost query at search time according set of roles with least performance impact

2015-11-13 Thread Andrea Open Source
Hi Alessandro, Thanks for answering. Unfortunately bq is not enough as I have several roles that I need to score in different ways. I was thinking of building a custom function that reads the weights of the roles from solr config and applies them at runtime. I am a bit concerned about performanc

Re: Boost query at search time according set of roles with least performance impact

2015-11-09 Thread Alessandro Benedetti
ehehe your request is kinda delicate : 1) I can't store the payload at index time 2) Passing all the weights at query time is not an option So you seem to exclude all the possible solutions ... Anyway, just thinking loud, have you tried the edismax query parser and the boost query feature? 1) th