For starters, do you need to be able to search across groups or
sub-groups (in one query?)
If so, then you have to stick everything in one index.
You can add a field to each document saying what 'group' or 'sub-group'
it is in and then limit it at query time
q="kittens +group:A"
The advantage to splitting it into multiple indexes is that you could
put each index on independent hardware. Depending on your queries and
index size that may make a big difference.
ryan
Rishabh Joshi wrote:
Hi,
I have a requirement and was wondering if someone could help me in how to go
about it. We have to index about 8-9 million documents and their size can be
anywhere from a few KBs to a couple of MBs. These documents are categorized
into many 'groups' and 'sub-groups'. I wanted to know if we can create multiple
indexes based on 'groups' and then on 'sub-groups' in Solr? If yes, then how do
we go about it? I tried going through the section on 'Collections' in the Solr
Wiki, but could not make much use of it.
Regards,
Rishabh Joshi