lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From superruiye <superru...@gmail.com>
Subject Re: Why read past EOF
Date Fri, 03 Feb 2012 03:13:50 GMT
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message