Re: Deleting a document with an IndexWriter open

2004-07-19 Thread Doug Cutting
Dmitry Serebrennikov wrote: Doug Cutting wrote: Dmitry Serebrennikov wrote: So here's a modified sequence of operations, perhaps a bit more efficient than proposed by Christoph: 1) Open an IndexReader for searching - S. Keep it open until the transaction is committed. 2) Open a second IndexReader

Re: Binary stored fields (was Re: suggestions for a student project)

2004-07-19 Thread Roy
Drew, I am very interested in the binary field feature. Do you have any updates on that? Thanks. Roy On Thu, 27 May 2004 21:26:04 -0400, Drew Farris <[EMAIL PROTECTED]> wrote: > On Thu, 2004-05-27 at 17:34, Dmitry Serebrennikov wrote: > > Drew Farris wrote: > > > > > >I send out a patch for thi

Re: Deleting a document with an IndexWriter open

2004-07-19 Thread Dmitry Serebrennikov
Doug Cutting wrote: Dmitry Serebrennikov wrote: So here's a modified sequence of operations, perhaps a bit more efficient than proposed by Christoph: 1) Open an IndexReader for searching - S. Keep it open until the transaction is committed. 2) Open a second IndexReader for deletions - D. 3) Creat

Re: errors in file format description

2004-07-19 Thread Daniel Naber
On Monday 19 July 2004 19:54, Doug Cutting wrote: > You are correct in all cases. ÂWould you like to patch this? I'll fix it directly in CVS once my account has been created. Regards Daniel -- http://www.danielnaber.de - To

Re: errors in file format description

2004-07-19 Thread Doug Cutting
Daniel Naber wrote: -The first sentence refers to Lucene 1.4, but the end of the second paragraph then refers to 1.3. -"Term Vectors. For each field in each document, the term vector (sometimes called document vector) is stored. A term vector consists of the term text, term frequency and term p

Re: Deleting a document with an IndexWriter open

2004-07-19 Thread Doug Cutting
Dmitry Serebrennikov wrote: So here's a modified sequence of operations, perhaps a bit more efficient than proposed by Christoph: 1) Open an IndexReader for searching - S. Keep it open until the transaction is committed. 2) Open a second IndexReader for deletions - D. 3) Create a filter bitset F

Re: Deleting a document with an IndexWriter open

2004-07-19 Thread Doug Cutting
Christoph Goller wrote: Giulio Cesare Solaroli wrote: is there any architectural reason while an IndexWriter could not delete a document? There are such reasons. Maybe Doug can give additional insight. No, you did a great job of describing the issues. Thanks! Doug -

Re: errors in file format description

2004-07-19 Thread Christoph Goller
Daniel Naber wrote: Hi, I think there are some small inaccuracies on http://jakarta.apache.org/lucene/docs/fileformats.html: -The first sentence refers to Lucene 1.4, but the end of the second paragraph then refers to 1.3. -"Term Vectors. For each field in each document, the term vector (sometime

Re: Deleting a document with an IndexWriter open

2004-07-19 Thread Christoph Goller
Dmitry Serebrennikov wrote: Another solution that works well in some applications is to rely on document number. This number will remain the same for the life of an IndexReader. This number is also always larger for documents added later. So given two documents with the same ID, the one with the