That sounds fine. Or just open an IndexWriter with create/overwrite/whatever-it-is set to true.
There's rarely a clear best strategy. Do the simplest thing that could possibly work: http://www.xprogramming.com/Practices/PracSimplest.html -- Ian. On Tue, Mar 5, 2013 at 5:10 AM, 장용석 <need4...@gmail.com> wrote: > Hi. > > I want indexing all documents once a day and after indexing delete old > index files that indexed before a day. > > I think to do this, indexing all documents in new directory and replace > IndexSearcher and IndexWriter with olds, and delete old index directory. > > Is there more good indexing strategy? > > Thanks.! > > -- > DEV용식 > http://devyongsik.tistory.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org