Apply the boost to the specific query term you want boosted, like Name:Car*^200.

-- Jack Krupansky

-----Original Message----- From: EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
Sent: Tuesday, July 29, 2014 3:16 PM
To: Jack Krupansky
Cc: solr-user@lucene.apache.org
Subject: RE: fq & bq

Hi Jack, Thanks for the response.

I have a question, using standard parser, can I boost a filed based on a values.

For e.g. if Name filed has Car boost the results.. I tried using the below query but it is getting all the data. Is there any other way I need to do this

e.g q=(Name:Car) OR (Name:Car*) or (Name:*car*) OR (ProductType:"Auto")^200

I want to boost if the records has ProductType:Auto.

Any solution is really appreciate

Thanks

Ravi

-----Original Message-----
From: Jack Krupansky [mailto:j...@basetechnology.com]
Sent: Tuesday, July 29, 2014 11:57 AM
To: EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
Subject: Re: fq & bq

Sounds like the issue is related to the Join query. Maybe by reordering the original results the join is not finding joined documents in the second core for the first batch of documents from the first core.

Maybe somebody with more in-depth knowledge of the join internals could comment.

-- Jack Krupansky

-----Original Message-----
From: EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
Sent: Tuesday, July 29, 2014 10:51 AM
To: solr-user@lucene.apache.org
Cc: j...@basetechnology.com
Subject: RE: fq & bq

Hi Jack,
My q:Fusion

defType=edismax&q=Fusion&bq=(Type:"Car")^1000&fq=Country:US... facet fileds and other join condition (I am using join for 2 cores).

With q & fq I am getting results.. and q & bq I am getting results..

But q,bq,fq, returns 0 records..

Thanks

Ravi

-----Original Message-----
From: Jack Krupansky [mailto:j...@basetechnology.com]
Sent: Tuesday, July 29, 2014 8:34 AM
To: solr-user@lucene.apache.org
Subject: Re: fq & bq

Boosting simply rearranges the search results, but does not affect the count.

Sounds like no result documents are matching your filter query.

What is your "q" parameter?

Try with q and fq alone as see if you get any results.

Try with q set to your fq query alone and see what results you get, if any.

-- Jack Krupansky

-----Original Message-----
From: EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
Sent: Tuesday, July 29, 2014 8:10 AM
To: solr-user@lucene.apache.org
Subject: fq & bq

Hi , I am using the bq to boost a particular value of a field. But when I try to add a filter query (fq) there results are Zero, Do you have thoughts, can I use both bq and fq togerther...?

&bq=(Type:"Car")^1000&fq=Country:US

Thanks

Ravi

  • fq & bq EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
    • Re: fq &am... Jack Krupansky
      • RE: fq... EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
        • RE... EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
          • ... Jack Krupansky

Reply via email to