Hi, Luke worked, but we are finding it really slow in our environment
(8-10 seconds). Is there a way to just get document count & last index
time with a faster call, possibly passing something to luke?
thanks
Joel
On Nov 19, 2009, at 11:54 AM, Binkley, Peter wrote:
The Luke request handler (normally available at <solr>/admin/luke)
will
give you the document count (not size on the disk, though, if that's
what you want) and last update and other info:
<lst name="index">
<int name="numDocs">14591</int>
<int name="maxDoc">14598</int>
<int name="numTerms">128730</int>
<long name="version">1196962176380</long>
<bool name="optimized">false</bool>
<bool name="current">true</bool>
<bool name="hasDeletions">true</bool>
<str name="directory">.... s/solr/data/index</str>
<date name="lastModified">2009-11-19T16:44:45Z</date>
</lst>
See http://wiki.apache.org/solr/LukeRequestHandler
Peter
-----Original Message-----
From: Joel Nylund [mailto:jnyl...@yahoo.com]
Sent: Thursday, November 19, 2009 8:31 AM
To: solr-user@lucene.apache.org
Subject: getting total index size & last update date/time from query
Hi,
Looking for total number of documents in my index and the
last updated date/time of the index.
Is there a way to get this through the standard query q=?
if not, what is the best way to get this info from solr.
thanks
Joel