Re: ReaderCommit

2008-06-25 Thread Michael McCandless
Jason Rutherglen wrote: For Ocean I created a workaround where the IndexCommits from IndexDeletionPolicy are saved in a map in order to achieve deleting based on the IndexReader. It would be more straightforward to delete from the IndexCommit in IndexReader. It seems like we are mixing

Re: ReaderCommit

2008-06-22 Thread Jason Rutherglen
For Ocean I created a workaround where the IndexCommits from IndexDeletionPolicy are saved in a map in order to achieve deleting based on the IndexReader. It would be more straightforward to delete from the IndexCommit in IndexReader. I realize people want to get away from IndexReader performing

Re: ReaderCommit

2008-06-22 Thread Michael McCandless
Jason Rutherglen wrote: Is there a reason ReaderCommit in DirectoryIndexReader.getIndexCommit() does not support delete? I think we are getting away from using IndexReader to make changes to the index, so, I didn't want to enable deleting a commit point from IndexReader. Is is proper b