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.

Reply via email to