lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Sturge <>
Subject Re: cheking the size of the index using solrj API's
Date Mon, 05 Apr 2010 13:51:33 GMT
If you're using ReplicitionHandler directly, you already have the xml from
which to extract the 'indexSize' attribute.
>From a client, you can get the indexSize by issuing:
This will give you an xml response.
to give you a json string that has 'indexSize' within it:

Apr 05 14:28:46 BST
2010","fileCount",17,"status","success","snapshotCompletedAt","Mon Apr
05 14:28:47 BST 2010"]},"WARNING":"This response format is
experimental.  It is likely to change in the future."}

Either way, you'll need to have some sort of parsing logic or formatting to
get just the index size bit.

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