- Original Message -
From: "Ian Lea"
To:
Sent: Thursday, December 18, 2008 3:33 PM
Subject: Re: IndexReader delete
Well, if the indexing is happening in a separate process then that
will have locked the index and you won't be able to delete by reader
in your search proces
Well, if the indexing is happening in a separate process then that
will have locked the index and you won't be able to delete by reader
in your search process. I'd suggest passing the deletions to the
indexer process. In my experience everything works smoother when all
index modifications happen
Any opinion on this.
- Original Message -
From: "Ganesh"
To:
Sent: Wednesday, December 17, 2008 4:28 PM
Subject: IndexReader delete
When i perform a delete, i am getting the following exception
org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out:
SimpleFSLock
://tinyurl.com/7m67g
On 9/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Ok...
> but can i search in documents which are marked for deletion?
>
> Bye
>
> > --- Ursprüngliche Nachricht ---
> > Von: Yonik Seeley <[EMAIL PROTECTED]>
> > An: java-use
Ok...
but can i search in documents which are marked for deletion?
Bye
> --- Ursprüngliche Nachricht ---
> Von: Yonik Seeley <[EMAIL PROTECTED]>
> An: java-user@lucene.apache.org
> Betreff: Re: IndexReader delete doc! delete terms?
> Datum: Fri, 9 Sep 2005 09:33:38
Nope. The IndexReader simply sets a bit in a separate bitvector that marks
the doc as deleted. All info associated with the document are removed after
an IndexWriter merges the segment containing that doc with another (optimize
will merge all segments and hence remove remnants of all deleted doc
cene.apache.org
> Betreff: Re: IndexReader delete(int i)
> Datum: Mon, 29 Aug 2005 15:55:26 -0400
>
> Perhaps because you are not iterating over all the documents?
> numDocs() == maxDocs() - numer_of_deleted_docs
> So first try replacing numDocs() with maxDocs()
>
> -
Perhaps because you are not iterating over all the documents?
numDocs() == maxDocs() - numer_of_deleted_docs
So first try replacing numDocs() with maxDocs()
-Yonik
On 8/29/05, Derya Kasapoglu <[EMAIL PROTECTED]> wrote:
> Hi,
>
> if i delete a document from index, what does the it do?
> I want t