You can actually define boost queries to do that (bq parameter). Boost queries accept the standard Lucene query syntax and eventually appended to the user query. Just make sure that the default operator is set to OR other wise these boost queries will not only influence the boosts but also filter out some of the results.

Otis Gospodnetic wrote:
Terms no, but fields (with terms) and phrases, yes.


Otis
--
Sematext -- http://sematext.com/ -- Solr - Lucene - Nutch



----- Original Message ----
From: Girish Redekar <girish.rede...@aplopio.com>
To: solr-user@lucene.apache.org
Sent: Fri, December 4, 2009 11:42:16 PM
Subject: Query time boosting with dismax

Hi,

Is it possible to weigh specific query terms with a Dismax query parser? Is
it possible to write queries of the sort ...
field1:(term1)^2.0 + (term2^3.0)
with dismax?

Thanks,
Girish Redekar
http://girishredekar.net


Reply via email to