lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: cheking the size of the index using solrj API's
Date Fri, 02 Apr 2010 14:19:06 GMT

> I need to monitor the index for the following information:
> 1. Size of the index
> 2 Last time the index was updated.
> Although I did an extensive search of the API's i cant find
> something which
> does the same( as mentioned above) 

solr/admin/stats.jsp is actually an xml converted to html with stats.xsl

There are info about when last commit etc:

 <stat name="openedAt" >
          Fri Apr 02 17:07:03 EEST 2010

        <stat name="registeredAt" >
          Fri Apr 02 17:07:03 EEST 2010

Also LukeRequestHandler shows last modified time in UTC 

<date name="lastModified">2010-04-02T14:07:07Z</date>

I am not sure with the size. I can see it in stats.jsp because i have registered Replication

 <stat name="indexSize" >
          226.86 MB


View raw message