Apache Lucene.Net 2.4.0 Class Library API

SegmentInfo.Equals Method 

We consider another SegmentInfo instance equal if it has the same dir and same name.

public override bool Equals(
   object obj
);

See Also

SegmentInfo Class | Lucene.Net.Index Namespace