lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morus Walter <morus.wal...@tanto.de>
Subject Re: Searching and indexing from different processes (applications)
Date Tue, 16 Nov 2004 15:26:43 GMT
K Kim writes:

> I just started to play around with Lucene.  I was
> wondering if searching and indexing can be done
> simultaneously from different processes (two different
> processes.)  For example, searching is serviced from a
> web appliation, while indexing is done periodically
> from a stand-alone application.
> 
> What would be the best way to implement this?  
> 
simply do it.
The only things you have to keep in mind, is
a) you cannot have more than one process/thread writing to lucene
b) an index reader/search will not see updates unless it's closed
   and reopened.

So all you need is your web app and your indexing process and some
way to inform the web app after indexing, that it should reopen the index.

Morus

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


Mime
View raw message