lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mihai Caraman <caraman.mi...@gmail.com>
Subject Re: Can I use multiple writers of different applications on a same FSDirectory?
Date Tue, 14 Feb 2012 17:14:08 GMT
you can use a fsdirectory for each writer and then, search on all of them
at once. This is the recomended way if you have different apps.

În data de 14 februarie 2012, 19:06, Ian Lea <ian.lea@gmail.com> a scris:

> You can only have one writer against one index at a time.  Lucene's
> locking will prevent anything else.
>
>
> --
> Ian.
>
>
> On Tue, Feb 14, 2012 at 4:49 PM, Cheng <zhoucheng2008@gmail.com> wrote:
> > Hi,
> >
> > I need to manage multiple applications, each having its own writer yet
> on a
> > same FSdirectory. How to make it happen while I encounter quite a few
> > exceptions?
> >
> > thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

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