lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhaskar chandrasekar <>
Subject Re: Boosting of words
Date Tue, 13 Oct 2009 02:02:32 GMT
Hi Nicholas,
Thanks for your input.Where exactly the query
q=product:red color:red^10

should be used and defined?.
Help me.

--- On Mon, 10/12/09, Nicholas Clark <> wrote:

From: Nicholas Clark <>
Subject: Re: Boosting of words
Date: Monday, October 12, 2009, 2:13 PM

The easiest way to boost your query is to modify your query string.

q=product:red color:red^10

In the above example, I have boosted the color field. If "red" is found in
that field, it will get a boost of 10. If it is only found in the product
field, then there will be no boost.

Here's more information:

Once you're comfortable with that, I suggest that you look into using the
DisMax request handler. It will allow you to easily search across multiple
fields with custom boost values.


On Sun, Oct 11, 2009 at 12:26 PM, bhaskar chandrasekar <
> wrote:

> Hi,
> I would like to know how can i give boosting to search input in Solr.
> Where exactly should i make the changes?.
> Regards
> Bhaskar

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message