Re: cheking the size of the index using solrj API's

2010-04-05 Thread Ryan McKinley
On Fri, Apr 2, 2010 at 7:07 AM, Na_D wrote: > > hi, > > > I need to monitor the index for the following information: > > 1. Size of the index > 2 Last time the index was updated. > If by 'size o the index' you mean document count, then check the Luke Request Handler http://wiki.apache.org/solr/Lu

Re: cheking the size of the index using solrj API's

2010-04-05 Thread Peter Sturge
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: http://hostname:8983/solr/core/replication?command=details This will give you an xml response. Use: http://hostname:8983/s

Re: cheking the size of the index using solrj API's

2010-04-05 Thread Na_D
hi, I am using the piece of code given below ReplicationHandler handler2 = new ReplicationHandler(); System.out.println( handler2.getDescription()); NamedList statistics = handler2.getStatistics();

Re: cheking the size of the index using solrj API's

2010-04-02 Thread Ahmet Arslan
> 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

cheking the size of the index using solrj API's

2010-04-02 Thread Na_D
hi, 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) please help -- View this message in context: http://n3.n