Re: IndexDeletionPolicy and IndexCommitPoint

2008-06-07 Thread Yonik Seeley
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

Re: IndexDeletionPolicy and IndexCommitPoint

2008-06-07 Thread Michael McCandless
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