Followup: I *think* something like this should work:

$results = $solr->search($query, $start, $rows, array('sort' => 'price_min
asc,update_date desc', 'facet.query' => 'price_min:[* TO 1300]'));


On Mon, Jan 20, 2014 at 11:05 AM, Raymond Wiker <rwi...@gmail.com> wrote:

> That's exactly what I would expect from url-encoding '&'. So, the thing
> that you're doing works as it should, but you're probably doing something
> that you should not do (in this case, urlencode).
>
> I have not used SolrPHPClient myself, but from the example at
> http://code.google.com/p/solr-php-client/wiki/FAQ#How_Can_I_Use_Additional_Parameters_%28like_fq,_facet,_etc%29it
>  appears that you should not do any urlencoding yourself, at all.
> Further, if you're using data that is already urlencoded, you should
> urldecode it before handing it over to SolrPHPClient.
>
>
> On Mon, Jan 20, 2014 at 10:34 AM, rachun <rachun.c...@gmail.com> wrote:
>
>> Hi Raymond,
>>
>> I keep trying to encode the '&'  but when I look at the solar log it show
>> me
>> that '%26'
>> I'm using urlencode it didn't work what should i do? Im using
>> SolrPHPClient.
>> Please suggest me.
>>
>> Thank you very much,
>> Rachun
>>
>>
>>
>> --
>> View this message in context:
>> http://lucene.472066.n3.nabble.com/Query-by-range-of-price-tp4111655p4112256.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>
>

Reply via email to