Thanks,you suggest me to creat a my IndexDeletionPolicy,I check KeepOnlyLastCommitDeletionPolicy.onCommit,it invoke CommitPoint.delete(),but it only : deleted = true; commitsToDelete.add(this); ,and the delete index file operation in other place. Is it useful that I postpone invoke CommitPoint.delete() (eg.10 minutes) and reopen indexsearcher every minutes?
-- View this message in context: http://lucene.472066.n3.nabble.com/Why-read-past-EOF-tp3639401p3711995.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org