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....@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 <zhoucheng2...@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-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >