Can set a boost function as a default within requesthandler?

2014-02-20 Thread Peter Dodd
For my search I’ve established a boost function which enhances result
ranking. In a query it looks something like: 

   q={!boost b=product(answeredStatus, articleType)}connectivity

I’d like to make this boost function a default for all others who use the
search. My default search handler is configured like this in solrConfig.xml:

requestHandler class=solr.SearchHandler name=standard default=true
 lst name=defaults
  str name=echoParamsexplicit/str
  str name=fl*,score/str
 /lst
 arr name=components
  strcollapse/str
  strfacet/str
  strmlt/str
  strhighlight/str
  strstats/str
  strdebug/str
 /arr
/requestHandler

Can I add the boost function as a default in here?

Many  thanks,
Peter




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Can-set-a-boost-function-as-a-default-within-requesthandler-tp4118647.html
Sent from the Solr - User mailing list archive at Nabble.com.


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 mailing list archive at Nabble.com.