FAQ
I read about concurrency in Lucene but I'm not sure to understand well.
I can't do operations of delete and add simultaniouslly.If I've a writer
that I'm using to add new docs, I can't delete anything in Lucene index
until I close my opened writer. Or perhaps Did not close my writer?
Everytime that I do any add or delete elements in my Index I don't have to
close my searcher and reopen to update this.

Anyone can tell me how to know at startup of my application if my index is
corrupted and what to do?

thks to all.

Search Discussions

  • Daniel Naber at Jun 2, 2006 at 6:58 pm

    On Freitag 02 Juni 2006 15:46, Dan Wiggin wrote:

    Everytime that I do any add or delete elements in my Index I don't have
    to close my searcher and reopen to update this.
    See IndexModifier for how to mix deletions and adds. But you still need to
    re-open your searchers.

    Regards
    Daniel

    --
    http://www.danielnaber.de

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
    For additional commands, e-mail: java-user-help@lucene.apache.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupjava-user @
categorieslucene
postedJun 2, '06 at 1:47p
activeJun 2, '06 at 6:58p
posts2
users2
websitelucene.apache.org

2 users in discussion

Daniel Naber: 1 post Dan Wiggin: 1 post

People

Translate

site design / logo © 2022 Grokbase