I guess the place to start is the Reference Guide:

https://cwiki.apache.org/confluence/display/solr/SolrCloud

Generally speaking, when you start Solr with any sort of Zookeeper, you've
entered "cloud mode," which essentially means that Solr is now capable of
organizing cores into groups that represent shards, and groups of shards
are coordinated into collections. Additionally, Zookeeper allows multiple
Solr installations to be coordinated together to serve these collections
with high availability.

If you're just trying to gain parallelism on a single by using multiple
cores, you don't specifically need cloud mode or collections. You can
create multiple cores, distribute your documents manually to each core, and
then do a distributed search ala
https://wiki.apache.org/solr/DistributedSearch. The downside here is that
you're on your own in terms of distributing the documents at write time,
but on the other hand, you don't have to maintain a Zookeeper ensemble or
devote brain cells to understanding collections/shards/etc.


Michael Della Bitta

Senior Software Engineer

o: +1 646 532 3062

appinions inc.

“The Science of Influence Marketing”

18 East 41st Street

New York, NY 10017

t: @appinions <https://twitter.com/Appinions> | g+:
plus.google.com/appinions
<https://plus.google.com/u/0/b/112002776285509593336/112002776285509593336/posts>
w: appinions.com <http://www.appinions.com/>

On Tue, Feb 24, 2015 at 3:21 PM, Benson Margulies <bimargul...@gmail.com>
wrote:

> On Tue, Feb 24, 2015 at 1:30 PM, Michael Della Bitta
> <michael.della.bi...@appinions.com> wrote:
> > Benson:
> >
> > Are you trying to run independent invocations of Solr for every node?
> > Otherwise, you'd just want to create a 8 shard collection with
> > maxShardsPerNode set to 8 (or more I guess).
>
> Michael Della Bitta,
>
> I don't want to run multiple invocations. I just want to exploit
> hardware cores with shards. Can you point me at doc for the process
> you are referencing here? I confess to some ongoing confusion between
> cores and collections.
>
> --benson
>
>
> >
> > Michael Della Bitta
> >
> > Senior Software Engineer
> >
> > o: +1 646 532 3062
> >
> > appinions inc.
> >
> > “The Science of Influence Marketing”
> >
> > 18 East 41st Street
> >
> > New York, NY 10017
> >
> > t: @appinions <https://twitter.com/Appinions> | g+:
> > plus.google.com/appinions
> > <
> https://plus.google.com/u/0/b/112002776285509593336/112002776285509593336/posts
> >
> > w: appinions.com <http://www.appinions.com/>
> >
> > On Tue, Feb 24, 2015 at 1:27 PM, Benson Margulies <bimargul...@gmail.com
> >
> > wrote:
> >
> >> With so much of the site shifted to 5.0, I'm having a bit of trouble
> >> finding what I need, and so I'm hoping that someone can give me a push
> >> in the right direction.
> >>
> >> On a big multi-core machine, I want to set up a configuration with 8
> >> (or perhaps more) nodes treated as shards. I have some very particular
> >> solrconfig.xml and schema.xml that I need to use.
> >>
> >> Could some kind person point me at a relatively step-by-step layout?
> >> This is all on Linux, I'm happy to explicitly run Zookeeper.
> >>
>

Reply via email to