lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)" <>
Subject RE: Boost Query Example
Date Tue, 18 Feb 2014 15:19:47 GMT

I am not much experience on this boosting, can you explain with an example?  Really appreciated
on you help.


-----Original Message-----
From: Jack Krupansky [] 
Sent: Tuesday, February 18, 2014 9:58 AM
Subject: Re: Boost Query Example

Add debugQuery=true to your queries and look at the scoring in the "explain" 
section. From the intermediate scoring by field, you should be able to do the math to figure
out what boost would be required to rank your exact match high enough.

-- Jack Krupansky

-----Original Message-----
From: EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
Sent: Tuesday, February 18, 2014 9:50 AM
To: ;
Subject: RE: Boost Query Example

Hi Michael, Thanks for the information.

Now I am trying with the query , but I am not getting the sequence in order.

SKU with 223-CL10V3 lists first (Exact Match) ManfacturerNumber with 223-CL10V3 list Second
(Exact Match) if first is available if not MangacturesNumber doc will be first in the list.

SKU with 223-CL10V3* list third (Starts with the number if SKU or ManafactureNumeber not found
then this will be first in Query.

Can you check below query or rewrite the query or some help references? 
Below query not returning the way it should be..


-----Original Message-----
From: Michael Della Bitta []
Sent: Monday, February 17, 2014 4:12 PM
Subject: Re: Boost Query Example


Filter queries don't affect score, so boosting won't have an effect there.
If you want those query terms to get boosted, move them into the q 

Hope that helps!

Michael Della Bitta

Applications Developer

o: +1 646 532 3062

appinions inc.

"The Science of Influence Marketing"

18 East 41st Street

New York, NY 10017

t: @appinions <> | g+:<>
w: <>

On Mon, Feb 17, 2014 at 3:49 PM, EXTERNAL Taminidi Ravi (ETI,
Automotive-Service-Solutions) <> wrote:

> Hi can some one help me on the Boost & Sort query example.
> http://localhost:8983/solr/ProductCollection/select?q=*%3A*&wt=json&in
> dent=true&fq=SKU:223-CL10V3^100
> OR SKU:223-CL1^90
> There is not different in the query Order, Let me know if I am missing
> something. Also I like to Order with the exact match for
> SKU:223-CL10V3^100
> Thanks
> Ravi

View raw message