Is there a progmmatic way in Lucene to know if the index is optimized or not?
Thanks.
IndexReader.isOptimized