I guess you mean number of documents ,not the size of index in disk. We are 
looking for size of index in disk.

Thanks,
Rajeswari

On 4/5/21, 10:32 AM, "Walter Underwood" <[email protected]> wrote:

    Assuming each tenant has an ID, you can get the size by searching for 
tenant_id:1234 and requesting zero rows. We do that for metrics for different 
document types in the same collection.

    wunder
    Walter Underwood
    [email protected]
    http://observer.wunderwood.org/  (my blog)

    > On Apr 5, 2021, at 10:02 AM, Natarajan, Rajeswari 
<[email protected]> wrote:
    > 
    > Yes, that's correct .
    > 
    > Thanks,
    > Rajeswari
    > 
    > On 4/5/21, 6:21 AM, "Jan Høydahl" <[email protected]> wrote:
    > 
    >    Why not the obious design choice of one collection per tenant? Are you 
afraid of Solr not handling a large number of collections?
    > 
    >    Jan
    > 
    >> 5. apr. 2021 kl. 06:59 skrev Natarajan, Rajeswari 
<[email protected]>:
    >> 
    >> Hi,
    >> 
    >> We plan to store multiple tenants in a single collection (multiple 
shards)  with a composite Id router with docId prefix as tenant id.
    >> In this set up, how can a tenant’s index size be found. Solr metrics api 
gives the core’s index size .But in same core multiple tenants might be present.
    >> Would like to know if there is any out of box solr api available for 
this case.
    >> 
    >> 
    >> Thanks,
    >> Rajeswari
    > 
    > 


Reply via email to