what is SOLR multicore exactly

2019-08-06 02:41发布

问题:

In SOLR, what is multicore?

Is it a way to create multiple tables (inside a single solr app) with their own set of schema files, or is it about creating different databases (inside a single solr app)?

If we want to create multiple tables (with their respective schema.xml files) for solr web app then what is the best way to do this, or how can we achieve this in SOLR?

回答1:

Solr Multicore is basically a set up for allowing Solr to host multiple cores.
These Cores which would host a complete different set of unrelated entities.
You can have a separate Core for each table as well.

For e.g. If you have collections for Documents, People, Stocks which are completely unrelated entities you would want to host then in different collections

Multicore setup would allow you to

  1. Host unrelated entities separately so that they don't impact each other
  2. Having a different configuration for each core with different behavior
  3. Performing activities on each core differently (Update data, Load, Reload, Replication)
  4. keep the size of the core in check and configure caching accordingly


标签: solr solrnet