lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Krupansky <jack.krupan...@gmail.com>
Subject Re: Solr support for multi-tenant applications
Date Wed, 07 Jan 2015 22:16:39 GMT
Indeed, it is all about the numbers. So, Danesh, what are your numbers -
number of tenants and number of documents per tenant. What is the expected
distribution curve of documents per tenant?

The only "limit" I would suggest is that you not have more than "low
hundreds" of cores/tenants.

Will tenants be directly accessing Solr, or will you provide them with a
REST API for an application layer that intermediates access to Solr?

-- Jack Krupansky

On Wed, Jan 7, 2015 at 4:31 AM, Bram Van Dam <bram.vandam@intix.eu> wrote:

> One possibility is to have separate core for each tenant domain.
>>
>
> You could do that, and it's probably the way to go if you have a lot of
> data.
>
> However, if you don't have much data, you can achieve multi-tenancy by
> adding a filter to all your queries, for instance:
>
> query = userQuery
> filterQuery = tenant:currentTenant
>
>  - Bram
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message