lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rutherglen" <jason.rutherg...@gmail.com>
Subject Re: SegmentReader with custom setting of deletedDocs, single reusable FieldsReader
Date Wed, 25 Jun 2008 15:30:37 GMT
I read other parts of the email but glanced over this part.  Would terms be
automatically sorted as they came in?  If implemented it would be nice to be
able to get an encoded representation (probably byte array) of the document
and postings which could be written to a log, and then reentered in another
IndexWriter recreating the document and postings.

On Wed, Jun 25, 2008 at 8:41 AM, Yonik Seeley <yonik@apache.org> wrote:

> On Wed, Jun 25, 2008 at 6:29 AM, Michael McCandless
> <lucene@mikemccandless.com> wrote:
> > We've also discussed at one point creating an IndexReader impl that
> searches
> > the RAM buffer that DocumentsWriter writes to when adding documents.  I
> > think it's easier than it sounds, on first glance, because
> DocumentsWriter
> > is in fact writing the postings in nearly the same format as is used when
> > the segment is flushed.
>
> That would be very nice, and should also make it much easier to
> implement updateable documents (changing/adding/removing single
> fields).
>
> -Yonik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

Mime
View raw message