Hi Shalin, Yes i want to achieve a logical separation of indexes for performance reason also else index size will keep on growing as i have 8 different entities. I am already partitioning all these entities to different servers also on which i will be doing search based on distributed search by solr using shards and collecting merged results from 3 different servers. You mentioned i wont achieve putting all partitions on the same box , why is that so?
While reading solr core it says solr core is used for different applications only.... My search on different entities is also a type of different applications theoritically .... Does solr provides any good support for index partitioning. Thanks, Sumit On Mon, Jul 6, 2009 at 2:43 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Mon, Jul 6, 2009 at 1:40 PM, Sumit Aggarwal <sumit.kaggar...@gmail.com > >wrote: > > > I was trying to implement entity based partitioning using multiple core > > feature. > > So my solr.xml is like : > > <solr sharedLib="lib" persistent="true"> > > <cores adminPath="/admin/cores"> > > <core default="true" instanceDir="user" name="User"> > > <property name="dataDir" value="/user/data" /> > > </core> > > <core default="false" instanceDir="group" name="group"> > > <property name="dataDir" value="/group/data" /> > > </core> > > </cores> > > </solr> > > > > Now using http://localhost:8983/solr/User/ or > > http://localhost:8983/solr/Group/ i am able to reach seperate partition > > for > > entity based search. Now question arises for entity based indexing. I was > > reading http://wiki.apache.org/solr/IndexPartitioning document but it > does > > not help much.... How can i do entity based indexing of document.. > > I don't want to make http url based on entity for indexing purpose. > > > Why not? You know which document belongs to which "entity" so you can > select > which core to post that document to. > > > > > Another requirement: Since i have entity based partitioning and each > entity > > can have total index size more than 10GB so i need another partitioning > > inside entity like based on no of document in an index inside entity. How > > can i do this? Unfortunately solr wiki does not says much on > partitioning.. > > > > What are you trying to achieve by partitioning your data? Is it just for > logical separation? If it is for performance reasons, I don't think you'll > gain much by putting all partitions on the same box. > > -- > Regards, > Shalin Shekhar Mangar. > -- Cheers.... Sumit 9818621804