Problem using curl in PHP to get Solr results

2010-12-15 Thread Dennis Gearon
I finally figured out how to use curl to GET results, i.e. just turn all spaces into '%20' in my type of queries. I'm using solar spatial, and then searching in both the default text field and a couple of columns. Works fine on in the browser. But if I query for it using curl in PHP, there's

Re: Problem using curl in PHP to get Solr results

2010-12-15 Thread pankaj bhatt
HI , On Wed, Dec 15, 2010 at 2:52 PM, Dennis Gearon gear...@sbcglobal.netwrote: I finally figured out how to use curl to GET results, i.e. just turn all spaces into '%20' in my type of queries. I'm using solar spatial, and then searching in both the default text field and a couple of

Re: Problem using curl in PHP to get Solr results

2010-12-15 Thread Stephen Weiss
Forgive me if this seems like a dumb question but have you tried the Apache_Solr_Service class? http://www.ibm.com/developerworks/library/os-php-apachesolr/index.html It's really quite good at handling the nuts and bolts of making the HTTP requests and decoding the responses for PHP. I almost

Re: Problem using curl in PHP to get Solr results

2010-12-15 Thread Dennis Gearon
@lucene.apache.org Sent: Wed, December 15, 2010 1:36:11 AM Subject: Re: Problem using curl in PHP to get Solr results Forgive me if this seems like a dumb question but have you tried the Apache_Solr_Service class? http://www.ibm.com/developerworks/library/os-php-apachesolr/index.html It's really quite good

Re: Problem using curl in PHP to get Solr results

2010-12-15 Thread Andrew McCombe
, 2010 1:36:11 AM Subject: Re: Problem using curl in PHP to get Solr results Forgive me if this seems like a dumb question but have you tried the Apache_Solr_Service class? http://www.ibm.com/developerworks/library/os-php-apachesolr/index.html It's really quite good at handling the nuts

Re: Problem using curl in PHP to get Solr results

2010-12-15 Thread Markus Jelsma
The GeoDistanceComponent triggers the problem. It may be an issue in the component but it could very well be a Solr issue. It seems you missed a very recent thread on this one. https://issues.apache.org/jira/browse/SOLR-2278 I finally figured out how to use curl to GET results, i.e. just turn

Re: Problem using curl in PHP to get Solr results

2010-12-15 Thread Dennis Gearon
@lucene.apache.org Sent: Wed, December 15, 2010 1:36:11 AM Subject: Re: Problem using curl in PHP to get Solr results Forgive me if this seems like a dumb question but have you tried the Apache_Solr_Service class? http://www.ibm.com/developerworks/library/os-php-apachesolr/index.html It's really quite

Re: Problem using curl in PHP to get Solr results

2010-12-15 Thread Dennis Gearon
, otherwise we all die. - Original Message From: Dennis Gearon gear...@sbcglobal.net To: solr-user@lucene.apache.org Sent: Wed, December 15, 2010 3:28:40 PM Subject: Re: Problem using curl in PHP to get Solr results I will look into the security and processor power implications of that. Good