Lucene Index optimization

lucene, lucene.net

Solution

IndexReader.isOptimized

Problem

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

Original source