Re: code improvement / easier optimization

2007-11-02 Thread robert engels
To clarify, I changed the code in IndexWriter that creates the SegmentReaders DURING MERGING to use... On Nov 2, 2007, at 1:40 PM, robert engels wrote: The Lucene 2.2 code for managing buffers is somewhat "ugly" - the passing of the buffer size parameter around. I changed this in my branch

code improvement / easier optimization

2007-11-02 Thread robert engels
The Lucene 2.2 code for managing buffers is somewhat "ugly" - the passing of the buffer size parameter around. I changed this in my branch to use the BufferSizes class below. I changed the BufferedIndexInput/Output class like this class BufferedIndexInput { private int bufferSize = Bu