lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Patramanskij <>
Subject Re: 2.0 release
Date Sat, 06 May 2006 09:14:35 GMT

Currently,  buffer sizes for BufferedIndexInput and
BufferedIndexOutput are equals and have constant size of 1024 bytes.

When using a database for index persistence, it slowdowns performance much
because of relatively small buffer size. With JDBCDirectory and buffer
size increased from 1Kb to 16Kb I got 200%(3 times) performance
increase for indexing.

What about adding a possibility to change buffer size on runtime, that
client code can set appropriate values depending on what persistence
type for indexing is used?


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

View raw message