Re: IndexReader delete

2008-12-18 Thread Ganesh
- 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

Re: IndexReader delete

2008-12-18 Thread Ian Lea
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

Re: IndexReader delete

2008-12-17 Thread Ganesh
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

Re: IndexReader delete doc! delete terms?

2005-09-12 Thread Yonik Seeley
://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

Re: IndexReader delete doc! delete terms?

2005-09-10 Thread dozean
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

Re: IndexReader delete doc! delete terms?

2005-09-09 Thread Yonik Seeley
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

Re: IndexReader delete(int i)

2005-08-30 Thread dozean
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() > > -

Re: IndexReader delete(int i)

2005-08-29 Thread Yonik Seeley
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