Hi weizhenyu! (can you write down your name in roman latters)

We also tried to provide dedicated cores for each customer in one of our early 
system design to get maximum config possibilities.  
40k Webshops  => 40k Solr Cores, which didn't work out.

Problems we encountered:
- Threads: Solr create one thread to interact with each core in 3.x of solr , 
40k therads will kill any server & performance
- FileSystem: Each Core needed number of files 30 -100 files depending on 
settings etc. 40.000 x 100 file handles was not an option for the CentOS (and 
most other OS)
- Managing 100k configs is problem of its own

You may look for other solution e.g. split the user base in small number of 
Cores by use case and try to cover their needs.  (btw the solrconfig.xml, 
schema.xml ultra flexible most likely the cover 95% of your requirements)

Regards,
Christian Bordis

-----Ursprüngliche Nachricht-----
Von: 韦震宇 [mailto:weizhe...@win-trust.com] 
Gesendet: Dienstag, 25. September 2012 04:21
An: solr-user@lucene.apache.org
Betreff: How can I create about 100000 independent indexes in Solr?

Dear all,
    The company I'm working in have a website to server more than 100000 
customers, and every customer should have it's own search cataegory. So I 
should create independent index for every customer.
    The site http://wiki.apache.org/solr/MultipleIndexes give some solution to 
create multiple indexes.
    I want to use multicore solution. But i'm afraid that Solr can't support so 
many indexes in this solution.
    The other solution "Flattening data into a single index" is a choice, but i 
think it's best to keep all indexes indepent.  
    Could you tell me how to create about 100000 independent indexes in Solr?
    Thank you all for reply!
    

Reply via email to