I have a SaaS web app (multi-tenant) that needs full-text search. The full-text search has to be per-tenant - e.g. we don't want one tenant to be able to pull search results for another tenant's data. This will be for searching text documents.
I can see two ways to implement this in SOLR -
multiple "cores"
separate fields with query attributes
Is there a preferred/recommended way to do multi-tenant full-text search with SOLR?
Advantages/disadvantages of either?
I would go for one-core per tenant approach.
Some Reasons, off the top: