You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by rajani m <ra...@gmail.com> on 2023/06/15 19:11:16 UTC

COLSTATUS api raw size summary of shard

Hi Solr Users,

  The "COLSTATUS
<https://solr.apache.org/guide/solr/latest/deployment-guide/collection-management.html#colstatus>"
api that generates a summary of collection index is timing out when
querying a large size index even with sampling size set to 0.01. Any other
alternatives?

 Is it possible to request a raw size summary per shard instead or request
only "fieldsBySize" only as that is one of the metrics I am looking
for. "rawSize"
"fieldsBySize".

Example url-
http://host:port
/solr/admin/collections?action=COLSTATUS&collection=v9&rawSizeSummary=true&rawSizeSamplingPercent=0.01

Thank you,
Rajani

Re: COLSTATUS api raw size summary of shard

Posted by rajani m <ra...@gmail.com>.
The notes on the related SOLR-13512
<https://issues.apache.org/jira/browse/SOLR-13512> mention that the
tool "supports
"async" so the request should complete without timeouts even for large
indexes"
so wondering if I am missing any additional query params in the request or
need to run the tool as jar?



On Thu, Jun 15, 2023 at 3:11 PM rajani m <ra...@gmail.com> wrote:

> Hi Solr Users,
>
>   The "COLSTATUS
> <https://solr.apache.org/guide/solr/latest/deployment-guide/collection-management.html#colstatus>"
> api that generates a summary of collection index is timing out when
> querying a large size index even with sampling size set to 0.01. Any other
> alternatives?
>
>  Is it possible to request a raw size summary per shard instead or request
> only "fieldsBySize" only as that is one of the metrics I am looking for. "rawSize"
> "fieldsBySize".
>
> Example url-
> http://host:port
> /solr/admin/collections?action=COLSTATUS&collection=v9&rawSizeSummary=true&rawSizeSamplingPercent=0.01
>
> Thank you,
> Rajani
>
>