You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use solr 5.x and spring-data-solr. I try to understand is it possible to use multi-core in multi-tenancy mode.
We have several tenants and we want to have a single solr core per tenant. The main problem is a spring repositories, i can't define which core should use repository for current tenant.
For example:
Hi!
We use
solr 5.x
andspring-data-solr
. I try to understand is it possible to use multi-core in multi-tenancy mode.We have several tenants and we want to have a single solr core per tenant. The main problem is a spring repositories, i can't define which core should use repository for current tenant.
For example:
And two cores:
So, if tenant =
tenant_1
, repository should search for user in/solr/tenant_1
, if tenant =tenant_2
in/solr/tenant_1
.I can do it manually via
solrj
:But it is not convenient. In this case we need to rewrite all our solr repositories.
@christophstrobl can you advice something?
Thanks!
The text was updated successfully, but these errors were encountered: