Apache Lucene.Net 2.4.0 Class Library API

DirectoryIndexReader.IsOptimized Method 

Checks is the index is optimized (if it has a single segment and no deletions)

public override bool IsOptimized();

Return Value

true
if the index is optimized;
false
otherwise

See Also

DirectoryIndexReader Class | Lucene.Net.Index Namespace