lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Need Help: Index directory files getting deleted due to server restart.
Date Fri, 29 Jul 2011 18:00:46 GMT

: It is strange that I was suggested not to call commit explicitly and leave
: it to the lucene but it seems it has its own disadvantages.

as long as you commit/close the writer cleanly on shutdown you should be 
fine ... i don't think you need to be so agressive as to call it on ever X 
docs (unless you want to)



-Hoss

---------------------------------------------------------------------
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