Re: solr php client vs file_get_contents?

2009-12-15 Thread Donovan Jimenez
In the end, the PHP client does a file_get_contents for doing a search the same way you'd do it "manually". It's all PHP, so you can do anything it does yourself. It provides what any library of PHP classes should - convenience. I use the JSON response writer because it gets the most atten

Re: solr php client vs file_get_contents?

2009-12-15 Thread Israel Ekpo
On Tue, Dec 15, 2009 at 8:49 AM, Faire Mii wrote: > i am using php to access solr and i wonder one thing. > > why should i use solr php client when i can use > > $serializedResult = file_get_contents('http://localhost:8983/solr/ > select?q=niklas&wt=phps'); > > to get the result in arrays and the

solr php client vs file_get_contents?

2009-12-15 Thread Faire Mii
i am using php to access solr and i wonder one thing. why should i use solr php client when i can use $serializedResult = file_get_contents('http://localhost:8983/solr/ select?q=niklas&wt=phps'); to get the result in arrays and then print them out? i dont really get the difference. is there