lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <ysee...@gmail.com>
Subject Re: [jira] Commented: (LUCENE-565) Supporting deleteDocuments in IndexWriter (Code and Performance Results Provided)
Date Thu, 06 Jul 2006 15:50:59 GMT
On 7/6/06, robert engels <rengels@ix.netcom.com> wrote:
> I applied the patch, and made code changes to use it. It did not make
> any appreciable difference in performance over our current code

Yes, I'm not sure the performance comparisons made in the patch
description are apples-to-apples.  And hopefully the test wasn't
against IndexModifier, which isn't built for speed at all.

When one interleaves adds and deletes, it isn't the case that
indexreaders and indexwriters need to be opened and closed each
interleave.

> (delete using IndexReader and then update the documents using
> IndexWriter - each document has a unique "key").
>
> I attempted to evaluate the code on its own, but must admit that I
> got "lost" a bit.

I was left wondering if the extensive changes to IndexWriter were
worth it, or if it was best left to something at a higher level (like
a better IndexModifier, or something like what Solr does).

-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