debug2012 / solr-php-client

Automatically exported from code.google.com/p/solr-php-client
Other
0 stars 0 forks source link

multiple cores #73

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Is there a way to query different solr cores via the PHP slient?

Original issue reported on code.google.com by omrire...@gmail.com on 8 Feb 2012 at 1:58

GoogleCodeExporter commented 8 years ago
*PHP client

Original comment by omrire...@gmail.com on 8 Feb 2012 at 1:59

GoogleCodeExporter commented 8 years ago
Solved: 
new Apache_Solr_Service( 'localhost', '8983', '/solr/core' );

/solr/core should point to your desired core

Original comment by omrire...@gmail.com on 9 Feb 2012 at 3:20

GoogleCodeExporter commented 8 years ago
yup, you got it.

Sorry I didn't see this until now. Next time when you have a question, direct 
to the mailing list first - I tend to see those much faster.

Glad you figured it out, good luck with solr! :) 

Original comment by donovan....@gmail.com on 9 Feb 2012 at 4:08