lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Schetinin" <>
Subject RE: Distributed Lucene..
Date Wed, 08 Mar 2006 07:31:48 GMT

Sure not. We created another IndexWriter class and modified its function
addIndexes (if I remember the function name correctly) so it will not
call to optimize at the end - that's all.
Having unique segment names was necessary because the segment file name
is used inside the file itself, and cannot be changed on the fly. 

Best Regards,




Andrew Schetinin
C++ System Architect
Phone: +972 8 643 6560, ext. 212

Entopia Awards: 
"Visionary in Enterprise Search Magic Quadrant" Gartner Group
"Best Search Engine" SIIA Codie Award
"Trend Setting Product" KMWorld Magazine

-----Original Message-----
From: Otis Gospodnetic [] 
Sent: Tuesday, March 07, 2006 8:55 PM
Subject: Re: Distributed Lucene..

Just curious about this:

> We hacked :-) IndexWriter of Lucene to start all segment names with a 
> prefix unique for each small index part.
> Then, when adding it to the actual index, we simply copy the new 
> segment to the folder with the other segments, and add it in such a 
> way so that the optimize() function cannot be called.
> This way adding a new segment is very unintrusive for the searcher.
> Optimization is scheduled to happen at night.

You just copy your uniquely-named segments in the index directory and
manually modify the "segments" file to list all copied segments?


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

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

View raw message