lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amin Mohammed-Coleman <>
Subject Re: Using lucene in a clustered app server
Date Thu, 11 Jun 2009 08:04:32 GMT

we are thinking of implementing a solution like this.  All nodes on the
cluster has a local index from which searches are performed.  Once an update
on the index needs to happen the work is sent to a queue where there is a
master who is responsible for updating the central index.  The master is
then responsible for propagating/notifying other nodes in the cluster that
their local index is not in sync.  The local index worker can perform an
update against the master index.

We haven't implemented this yet but its the approach we'll take inorder to
deal with clustering.  If anyone has any ideas which could improve this or a
better approach your thoughts will be appreciated.


On Wed, Jun 10, 2009 at 10:15 AM, Ian Lea <> wrote:

> I'd recommend using your favourite queueing service to pass all
> updates to a central process, the one and only process that updates
> the index.  If you don't already have a favourite queueing service,
> lists several JMS implementations.
> --
> Ian.
> On Tue, Jun 9, 2009 at 9:02 PM, Newman, Billy<> wrote:
> > I am trying to figure out the best way to add to a lucene index across a
> clustered app server.  I cannot grab an IndexWriter for each node in the
> cluster, because I would run into lock file problems.  I am not sure if I
> can share one IndexWriter across the cluster because what happens when two
> or more nodes update the same thing.  Anyone have any insight?
> >
> > Thanks.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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