SOLR PHP Plugin with Multiple Indices

23 views
Skip to first unread message

Greg

unread,
Oct 13, 2011, 1:02:34 AM10/13/11
to PHP Solr Client
I think I've worked it out. I'm usine the multiple languages example
from the cookbook. So I'll access it with:

$solr = new Apache_Solr_Service('localhost', 8081, '/solr/en/');

where en is the name of the core.

No need to publish any of these posts.

Greg

unread,
Oct 13, 2011, 12:24:04 AM10/13/11
to PHP Solr Client
Is it possible to use this plugin with a SOLR instance using multiple
indices?

How would you tell SOLR which index to use when adding documents or
searching?

Donovan Jimenez

unread,
Oct 13, 2011, 11:19:33 AM10/13/11
to PHP Solr Client
I'm glad you were able to work it out, I wasn't around to see your
question until this morning.

I think its a great question and answer to have available on the
mailing list for search reasons, so if you don't mind I'll keep them
published. And you're now pre-approved for message posting.
Reply all
Reply to author
Forward
0 new messages