lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidworks.com>
Subject Re: Boost parameter with query function - how to pass in complex params?
Date Sun, 07 Apr 2013 13:07:20 GMT
On Sun, Apr 7, 2013 at 8:39 AM, dc tech <dctech1000@gmail.com> wrote:
> Yonik,
> Many thanks.
> The OR is still not working... here is the full URL
> 1. Honda or Toyota individually work
> http://localhost:8983/solr/cars/select?fl=text,score&defType=edismax&q=suv&boost=query($boostq,1)&boostq=honda
> http://localhost:8983/solr/cars/select?fl=text,score&defType=edismax&q=suv&boost=query($boostq,1)&boostq=toyota
> I can see the scores increasing on the matching models.
>
> 2. But the OR does not work
> http://localhost:8983/solr/cars/select?fl=text,score&defType=edismax&q=suv&boost=query($boostq,1)&boostq=toyota%20or%20honda

I still see a lowercase "or" in there that should be uppercase.

You can also add debug=query to see exactly what query is generated.

-Yonik
http://lucidworks.com

Mime
View raw message