lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MitchK <mitc...@web.de>
Subject Re: Boosting DisMax queries with !boost component
Date Sun, 01 Aug 2010 23:17:48 GMT

Hi,

qf needs to have spaces in it, unfortunately the local query parser can not
deal with that, as Erik Hatcher mentioned some months ago.

A solution would be to do something like that:

{!dismax%20qf=$yourqf}yourQuery&yourgf=title^1.0 tags^2.0

Since you are using the dismax-query-parser, you can add the boosting query
via bq-param.

Hope this helps,
- Mitch
-- 
View this message in context: http://lucene.472066.n3.nabble.com/Boosting-DisMax-queries-with-boost-component-tp1011294p1014242.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message