lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noble Paul നോബിള്‍ नोब्ळ् <>
Subject Re: SOLR-571:LRUCache autowarmCount should support percentages
Date Tue, 20 Apr 2010 04:02:00 GMT
what is the meaning of 50%? 50% of all queries fired since the last
searcher opened? sounds like a bad idea.

On Tue, Apr 20, 2010 at 3:40 AM, Tomas <> wrote:
> Hi, I've been using Solr for some time and i would like to contribute a
> little. I found on Jira an improvement that seems to be easy to implement (I
> don't want to go with the most difficult ones until I get completly familiar
> with Solr code), the one on the Subject of this mail: SOLR-571:LRUCache
> autowarmCount should support percentages.
> I was thinking in modify both, the FastLRUCache and the LRUCache to allow
> percentages (as well as absolute values of course) on "autowarmCount"
> parameter, and in the case of a percentage, simply evaluate it on the "init"
> method.
> For example, when "size" parameter is 1000 and "autowarmCount" parameter is
> "50%", simply set the field autowarmCount in 500.
> Does someone see a potential problem here?
> Tomás

Noble Paul | Systems Architect| AOL |

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

View raw message