Re: Re: Can set a boost function as a default within requesthandler?

2014-02-20 Thread rainfall83
Hi Ahmet, you are right, I have forgotten to mention the necessity of query parser change in my case. So just like you wrote previously something like: str name=q_query_:{!boost b=product(answeredStatus, articleType) v=$qq}/str added to the defaults section of request handler definition and

Re: Re: Can set a boost function as a default within requesthandler?

2014-02-20 Thread Peter Dodd
So I'd need to change the query syntax to load and pass *qq *(qq=connectivity) instead of *q* (q=connectivity) ? -- View this message in context: http://lucene.472066.n3.nabble.com/Can-set-a-boost-function-as-a-default-within-requesthandler-tp4118647p4118703.html Sent from the Solr - User

Re: Re: Can set a boost function as a default within requesthandler?

2014-02-20 Thread Ahmet Arslan
Hi Peter, Yes you are correct. Send qq=connectivity with the following defaults section lst name=defaults   str name=echoParamsexplicit/str   str name=fl*,score/str   str name=q{!type=boost b=product(answeredStatus, articleType) v=$qq}/str   /lst Alternatively, you can switch to edismax query