How does one specify which collections to use?

2014-10-15 Thread Aaron Lewis
Hi,

I'm using PHP client here:
http://php.net/manual/en/class.solrquery.php

I couldn't figure out how to use collection2 instead of
collection1, I don't see such options in constructor either.

Anyone know that?

-- 
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33


Re: How does one specify which collections to use?

2014-10-15 Thread Matthew Nigl
Hi Aaron,

You would need to set 'path' in the options array when you create a
SolrClient.

http://php.net/manual/en/solrclient.construct.php

Regards,
Matt

On 15 October 2014 19:31, Aaron Lewis the.warl0ck.1...@gmail.com wrote:

 Hi,

 I'm using PHP client here:
 http://php.net/manual/en/class.solrquery.php

 I couldn't figure out how to use collection2 instead of
 collection1, I don't see such options in constructor either.

 Anyone know that?

 --
 Best Regards,
 Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
 Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33



[SOLVED] Re: How does one specify which collections to use?

2014-10-15 Thread Aaron Lewis
Thanks Matt. I misunderstood that option ;-)

On Wed, Oct 15, 2014 at 6:43 PM, Matthew Nigl matthew.n...@gmail.com wrote:
 Hi Aaron,

 You would need to set 'path' in the options array when you create a
 SolrClient.

 http://php.net/manual/en/solrclient.construct.php

 Regards,
 Matt

 On 15 October 2014 19:31, Aaron Lewis the.warl0ck.1...@gmail.com wrote:

 Hi,

 I'm using PHP client here:
 http://php.net/manual/en/class.solrquery.php

 I couldn't figure out how to use collection2 instead of
 collection1, I don't see such options in constructor either.

 Anyone know that?

 --
 Best Regards,
 Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
 Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33




-- 
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33