Re: Bulk indexing and delete old index files

2013-12-03 Thread 장용석
ionizeit > Did you get this working? Are you able to share the solution? > > I am looking for a solution to similar problem. > > Thanks in advance. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Bulk-indexing-and-delete-old-inde

Re: Bulk indexing and delete old index files

2013-12-01 Thread revolutionizeit
Did you get this working? Are you able to share the solution? I am looking for a solution to similar problem. Thanks in advance. -- View this message in context: http://lucene.472066.n3.nabble.com/Bulk-indexing-and-delete-old-index-files-tp4044746p4104297.html Sent from the Lucene - Java

Re: Bulk indexing and delete old index files

2013-03-05 Thread 장용석
thanks! it's very helpful advice for me 나의 iPhone에서 보냄 2013. 3. 5. 오후 10:14 Erick Erickson 작성: > If you kept an "indexed_time" field, you could always just index > to the same instance and then do a delete by query, something like > timestamp:[* TO NOW/DAY], > commit and go. That would delete e

Re: Bulk indexing and delete old index files

2013-03-05 Thread Erick Erickson
If you kept an "indexed_time" field, you could always just index to the same instance and then do a delete by query, something like timestamp:[* TO NOW/DAY], commit and go. That would delete everything indexed before midnight. last night (NOW/DAY rounds down). Note, most of this would be already r

Re: Bulk indexing and delete old index files

2013-03-05 Thread Ian Lea
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, 장용석 wrote: > Hi.

Bulk indexing and delete old index files

2013-03-04 Thread 장용석
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?