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