Using a single node Solr instance, I need to search for, lets say,
electronics items & grocery items. But I never want to search both of them
together. When I search for electrnoics I don't expect a grocery item ever
& vice versa.

Should I be defining both these document types within a single schema.xml
or should I use different collection for each of these two(maintaining
separate schema.xml & solrconfig.xml for each of two) ?

I believe that if I add both to a single collection, without sharing fields
among these two document types, I should be equally good as separating them
in two collection(in terms of performance & all), as their indexes/filter
caches would be totally independent of each other when they don't share
fields?


Also posted at SO: http://stackoverflow.com/q/19202882/530153

Reply via email to