Re: multicore vs multi collection

2013-03-28 Thread Jack Krupansky

Unable? In what way?

Did you look at the Solr "example"?

Did you look at solr.xml?

Did you see the  element? (Needs to be one per core/collection.)

Did you see the "multicore" directory in the example?

Did you look at the solr.xml file in multicore?

Did you see how there are separate directories for each collection/core in 
multicore?


Did you see how there is a  element in solr.xml in multicore, one for 
each collection directory (instance)?


Did you try setting up your own test directory parallel to multicore in 
example?


Did you read the README.txt files in the Solr example directories?

Did you see the command to start Solr with a specific Solr "home" 
directory? -


   java -Dsolr.solr.home=multicore -jar start.jar

Did you try that for your own test solr home directory created above?

So... what exactly was the problem you were encountering? Be specific.

My guess is that you simply need to re-read the README.txt files more 
carefully in the Solr "example" directories.


If you have questions about what the README.txt files say, please ask them, 
but please be specific.


-- Jack Krupansky

-Original Message- 
From: hupadhyay

Sent: Thursday, March 28, 2013 5:35 AM
To: solr-user@lucene.apache.org
Subject: Re: multicore vs multi collection

Does that means i can create multiple collections with different
configurations ?
can you please outline basic steps to create multiple collections,cause i am
not able to
create them on solr 4.0



--
View this message in context: 
http://lucene.472066.n3.nabble.com/multicore-vs-multi-collection-tp4051352p4052002.html
Sent from the Solr - User mailing list archive at Nabble.com. 



Re: multicore vs multi collection

2013-03-28 Thread hupadhyay
Does that means i can create multiple collections with different
configurations ?
can you please outline basic steps to create multiple collections,cause i am
not able to 
create them on solr 4.0



--
View this message in context: 
http://lucene.472066.n3.nabble.com/multicore-vs-multi-collection-tp4051352p4052002.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: multicore vs multi collection

2013-03-26 Thread Furkan KAMACI
Also from there http://wiki.apache.org/solr/SolrCloud:

*Q:* What is the difference between a Collection and a
SolrCore?

*A:* In classic single node Solr, a
SolrCoreis basically equivalent
to a Collection. It presents one logical index. In
SolrCloud, the SolrCore 's on
multiple nodes form a Collection. This is still just one logical index, but
multiple SolrCores  host different
'shards' of the full collection. So a
SolrCoreencapsulates a single
physical index on an instance. A Collection is a
combination of all of the SolrCores
that together provide a logical
index that is distributed across many
nodes.

2013/3/26 J Mohamed Zahoor 

> Thanks.
>
> This make it clear than the wiki.
>
> How do you create multiple collection which can have different schema?
>
> ./zahoor
>
> On 26-Mar-2013, at 3:52 PM, Furkan KAMACI  wrote:
>
> > Did you check that document:
> >
> http://wiki.apache.org/solr/SolrCloud#A_little_about_SolrCores_and_CollectionsIt
> > says:
> > On a single instance, Solr has something called a
> > SolrCorethat is essentially a
> > single index. If you want multiple indexes, you
> > create multiple SolrCores . With
> > SolrCloud, a single index can span multiple Solr instances. This means
> that
> > a single index can be made up of multiple
> > SolrCore's
> > on different machines. We call all of these
> > SolrCoresthat make up one
> > logical index a collection. A collection is a essentially
> > a single index that spans many
> > SolrCore's,
> > both for index scaling as well as redundancy. If you wanted to move your
> 2
> > SolrCore  Solr setup to SolrCloud,
> > you would have 2 collections, each made up of multiple individual
> > SolrCores.
> >
> >
> > 2013/3/26 J Mohamed Zahoor 
> >
> >> Hi
> >>
> >> I am kind of confuzed between multi core and multi collection.
> >> Docs dont seem to clarify this.. can someone enlighten me what is ther
> >> difference between a core and a collection?
> >> Are they same?
> >>
> >> ./zahoor
>
>


Re: multicore vs multi collection

2013-03-26 Thread J Mohamed Zahoor
Thanks.

This make it clear than the wiki.

How do you create multiple collection which can have different schema?

./zahoor

On 26-Mar-2013, at 3:52 PM, Furkan KAMACI  wrote:

> Did you check that document:
> http://wiki.apache.org/solr/SolrCloud#A_little_about_SolrCores_and_CollectionsIt
> says:
> On a single instance, Solr has something called a
> SolrCorethat is essentially a
> single index. If you want multiple indexes, you
> create multiple SolrCores . With
> SolrCloud, a single index can span multiple Solr instances. This means that
> a single index can be made up of multiple
> SolrCore's
> on different machines. We call all of these
> SolrCoresthat make up one
> logical index a collection. A collection is a essentially
> a single index that spans many
> SolrCore's,
> both for index scaling as well as redundancy. If you wanted to move your 2
> SolrCore  Solr setup to SolrCloud,
> you would have 2 collections, each made up of multiple individual
> SolrCores.
> 
> 
> 2013/3/26 J Mohamed Zahoor 
> 
>> Hi
>> 
>> I am kind of confuzed between multi core and multi collection.
>> Docs dont seem to clarify this.. can someone enlighten me what is ther
>> difference between a core and a collection?
>> Are they same?
>> 
>> ./zahoor



Re: multicore vs multi collection

2013-03-26 Thread Furkan KAMACI
Did you check that document:
http://wiki.apache.org/solr/SolrCloud#A_little_about_SolrCores_and_CollectionsIt
says:
On a single instance, Solr has something called a
SolrCorethat is essentially a
single index. If you want multiple indexes, you
create multiple SolrCores . With
SolrCloud, a single index can span multiple Solr instances. This means that
a single index can be made up of multiple
SolrCore's
on different machines. We call all of these
SolrCoresthat make up one
logical index a collection. A collection is a essentially
a single index that spans many
SolrCore's,
both for index scaling as well as redundancy. If you wanted to move your 2
SolrCore  Solr setup to SolrCloud,
you would have 2 collections, each made up of multiple individual
SolrCores.


2013/3/26 J Mohamed Zahoor 

> Hi
>
> I am kind of confuzed between multi core and multi collection.
> Docs dont seem to clarify this.. can someone enlighten me what is ther
> difference between a core and a collection?
> Are they same?
>
> ./zahoor


multicore vs multi collection

2013-03-26 Thread J Mohamed Zahoor
Hi

I am kind of confuzed between multi core and multi collection.
Docs dont seem to clarify this.. can someone enlighten me what is ther 
difference between a core and a collection?
Are they same?

./zahoor