OK, does this mean it's now relatively safe/lightweight now to hold
references to IndexCommit objects long term (across different
IndexWriter objects on the same Directory?)
I also notice that IndexCommit.equals() only compares the segment fine
name... should it compare version also? If index fil
Yonik Seeley wrote:
OK, does this mean it's now relatively safe/lightweight now to hold
references to IndexCommit objects long term (across different
IndexWriter objects on the same Directory?)
Yes, this should be fine.
I also notice that IndexCommit.equals() only compares the segment fine