lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: Bulk indexing and delete old index files
Date Tue, 05 Mar 2013 08:47:02 GMT
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, 장용석 <need4spd@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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message