lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: Caching filter wrapper (was Re: RE : DateFilter.Before/After)
Date Mon, 15 Sep 2003 21:35:51 GMT
Bruce Ritchie wrote:
> I think that using a pool of cloned inputStreams would be the best 
> solution. I've implemented such a solution locally using two pools of 3 
> readers each (configurable via system properties) and will post the diff 
> after I do some testing to confirm accuracy and speed improvements.

Could you also benchmark this against a version that clones new streams 
for each call?  That sounds extravagant, but it removes a configuration 
parameter, always a good thing.



View raw message