delte documents into index

2006-03-24 Thread WATHELET Thomas
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.

Re: delte documents into index

2006-03-24 Thread Daniel Naber
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

Re: delte documents into index

2006-03-24 Thread Tom Hill
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

RE: delte documents into index

2006-03-25 Thread WATHELET Thomas
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

RE: delte documents into index

2006-03-25 Thread WATHELET Thomas
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

Re: delte documents into index

2006-03-25 Thread Daniel Naber
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 ---

RE: delte documents into index

2006-03-25 Thread WATHELET Thomas
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

Re: delte documents into index

2006-03-27 Thread Tom Hill
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