lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <>
Subject Re: Lucene Concurrency Concern
Date Tue, 29 Sep 2009 00:59:55 GMT
A search will be applied to one IndexSearcher or the other.  As such, a user
will see the new content or not with no intermediate possibilities.

If you are careful about synchronizing access to the shared searcher, then
you should have commit-like semantics with all users not seeing updates
until all users see all updates.

Why do you not want to use incremental update?  You are essentially
replicating the basic idea.  Why not use the real deal that people have
worked to make really work right?

On Mon, Sep 28, 2009 at 4:42 PM, RB3 <> wrote:

> Now in a multiuser environment, how would this behave if one user is
> searching something and at the same time, a new index is built and the
> searcher now refers to this new index ?
> Also is this the right way to implement if I don't want to use incremental
> update.

Ted Dunning, CTO

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message