I don't think there is anything low level in Lucene that will specifically
output anything like lastOptimized() to you, since it can be setup a few ways.
Your best bet is probably adding a postOptimize hook and dumping it to log /
file / monitor / etc, probably something like ...
lastO
On 4/21/2010 1:24 PM, Shawn Heisey wrote:
Is it possible to issue some kind of query to a Solr core that will
return the last time the index was optimized? Every day, one of my
shards should get optimized, so I would like my monitoring system to
tell me when the newest optimize date is more th
Is it possible to issue some kind of query to a Solr core that will
return the last time the index was optimized? Every day, one of my
shards should get optimized, so I would like my monitoring system to
tell me when the newest optimize date is more than 24 hours ago. I
could not find a way t