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)" <external.Ravi.Tamin...@us.bosch.com>
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.

--Ravi

-----Original Message-----
From: Jack Krupansky [mailto:jack@basetechnology.com] 
Sent: Tuesday, February 18, 2014 9:58 AM
To: solr-user@lucene.apache.org
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: solr-user@lucene.apache.org ; michael.della.bitta@appinions.com
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..

http://localhost:8983/solr/SRSFR_ProductCollection/select?q=SKU:223-CL10V3^10%20OR%20ManufactureNumber:223-CL10V3^5%20
OR%20SKU:223-CL10V3*^1&wt=json&indent=true



-----Original Message-----
From: Michael Della Bitta [mailto:michael.della.bitta@appinions.com]
Sent: Monday, February 17, 2014 4:12 PM
To: solr-user@lucene.apache.org
Subject: Re: Boost Query Example

Hi,

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 
parameter.

http://wiki.apache.org/solr/CommonQueryParameters#fq

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 <https://twitter.com/Appinions> | g+:
plus.google.com/appinions<https://plus.google.com/u/0/b/112002776285509593336/112002776285509593336/posts>
w: appinions.com <http://www.appinions.com/>


On Mon, Feb 17, 2014 at 3:49 PM, EXTERNAL Taminidi Ravi (ETI,
Automotive-Service-Solutions) <external.Ravi.Taminidi@us.bosch.com> 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
> 


Mime
View raw message