Wait: I see your DP above calling .delete() -- can you verify that
code is in fact invoked?  EG print on each onCommit how many commits
are deleted and how many are not?

Mike McCandless

http://blog.mikemccandless.com

On Wed, Feb 15, 2012 at 9:21 PM, superruiye <[email protected]> wrote:
> My IndexWriter only create once and cached in memery.
> I restart tomcat this morning,and the index become 94M...But I restart
> yesterday serveral times ,it still too big...
>
> My deletion policy is in above reply,it only compare the timestamp,not
> actually deleting commits.
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Why-read-past-EOF-tp3639401p3749057.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to