Is it possible to write into the index and delete some documents in the same
time?
If yes could you show me me how to proceed.
I use Lucene 1.9.1
Thanks in advence.
On Freitag 24 März 2006 23:34, WATHELET Thomas wrote:
> Is it possible to write into the index and delete some documents in the
> same time?
Yes, have a look at the IndexModifier class.
--
http://www.danielnaber.de
-
To unsubs
Hi Thomas,
> > Is it possible to write into the index and delete some documents in the
> > same time?
> Yes, have a look at the IndexModifier class.
If by "the same time" you mean "in one session", or something like
that, then yes, IndexModifier will help.
But if you mean from multiple threa
Ok thanks
-Original Message-
From: Daniel Naber [mailto:[EMAIL PROTECTED]
Sent: Sat 3/25/2006 12:05 AM
To: java-user@lucene.apache.org
Cc:
Subject: Re: delte documents into index
On Freitag 24 März 2006 23:34
Ok thanks
-Original Message-
From: Tom Hill [mailto:[EMAIL PROTECTED]
Sent: Sat 3/25/2006 12:39 AM
To: java-user@lucene.apache.org
Cc:
Subject: Re: delte documents into index
Hi Thomas
On Samstag 25 März 2006 00:39, Tom Hill wrote:
> IndexModifier won't work
> in multithreaded scenario, at least as far as I can tell.
Yes it does, but you need to use one IndexModifier object from all classes
(see the javadoc).
Regards
Daniel
--
http://www.danielnaber.de
---
use one IndexModifier object for all your process
-Original Message-
From: Daniel Naber [mailto:[EMAIL PROTECTED]
Sent: Sat 3/25/2006 12:07 PM
To: java-user@lucene.apache.org
Cc:
Subject: Re: delte documents into index
On Samstag 25 März 2006 00:39, Tom Hill wrote:
> IndexModifier won't work
> in multithreaded scenario, at least as far as I can tell.
Yes it does, but you need to use one IndexModifier object from all classes
(see the javadoc).
Regards
Daniel
I stand corrected (after going back and reading