lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Parkes" <>
Subject RE: addIndexes()
Date Thu, 31 May 2007 22:33:22 GMT
Hmmm ... something's not meshing for me here.

If I understood what you've said, you have a DbD index to which you are
addIndexes'ing a memory index? I must have missed something, because
addIndexes pre- and post-optimizes the target (Dbd) index, not the
operand (mem) index.

-----Original Message-----
From: Andi Vajda [] 
Sent: Thursday, May 31, 2007 10:10 AM
Subject: Re: addIndexes()

On Thu, 31 May 2007, Doug Cutting wrote:

> Steven Parkes wrote:
>> Is there any particular reason that the version that takes a
>> optimizes first?
> There was, but unfortunately I can't recall it now.  Index merging has

> changed substantially since then, so, whatever it was, it may no
> apply.  If no one can think of a good reason to optimize any longer,
> probably we should remove it, no?

No longer optimizing on this call would impact performance in what I'm
My usage pattern involves indexing in a MemoryIndex and adding that
index to 
an index backed by a DbDirectory. If the index is not optimized first,
operation becomes very noisy in the database.

In other words, if that change is made, please let us know so that I can
my code to explicitely optimize the MemoryIndex first.

Thanks !


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message