Use a + sign or %20 for the space. The URL standard uses a plus to mean a space.

On Tue, Mar 16, 2010 at 6:06 PM, KshamaPai <kshamapai2...@gmail.com> wrote:
>
> Hi,
> Am using autobench to benchmark solr with the query
> http://localhost:8983/solr/select/?q=body:hotel AND
> _val_:"recip(hsin(0.7113258,-1.291311553,lat_rad,lng_rad,30),1,1,0)"^100
>
> But if i specify the same in the autobench command as
> autobench --file bar1.tsv --high_rate 100 --low_rate 20 --rate_step 20
> --host1 localhost --single_host --port1 8983 --num_conn 10 --num_call 10
> --uri1 /solr/select/?q=body:hotel AND
> _val_:"recip(hsin(0.7113258,-1.291311553,lat_rad,lng_rad,30),1,1,0)"^100
>
> it is taking body:hotel as uri but not _val_ part ,which i think is because
> of the space after hotel. Even if i try  escaping  this in autobench using
> '\' it ll give parse error in solr.
>
> Can any one suggest me how do i handle this?so that entire query is
> considered as uri  and also solr respond with appropriate reply.
> thank you.
>
>
> --
> View this message in context: 
> http://old.nabble.com/problem-during-benchmarking-solr-query-tp27926801p27926801.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to