[ https://issues.apache.org/jira/browse/SOLR-2889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148078#comment-13148078 ]
Yonik Seeley commented on SOLR-2889: ------------------------------------ bq. It's reasonable to expect that process to happen on new additions to what is a singular project. Sorry, no. It's completely unrelated. Adding conditional numHits per entry to FastLRUCache would be a small simple change. Trying to figure out what/how to refactor Solr's current caching into a module is at least an order of magnitude (or two) harder. You can tackle that anytime you feel like it, but don't force it on anyone else. > Implement Adaptive Replacement Cache > ------------------------------------ > > Key: SOLR-2889 > URL: https://issues.apache.org/jira/browse/SOLR-2889 > Project: Solr > Issue Type: New Feature > Components: search > Affects Versions: 3.4 > Reporter: Shawn Heisey > Priority: Minor > > Currently Solr's caches are LRU, which doesn't look at hitcount to decide > which entries are most important. There is a method that takes both > frequency and time of cache hits into account: > http://en.wikipedia.org/wiki/Adaptive_Replacement_Cache > If it's feasible, this could be a good addition to Solr/Lucene. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org