lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <>
Subject [jira] [Assigned] (SOLR-9886) Add ability to turn off/on caches
Date Tue, 27 Dec 2016 08:34:58 GMT


Noble Paul reassigned SOLR-9886:

    Assignee: Noble Paul  (was: Shalin Shekhar Mangar)

> Add ability to turn off/on caches 
> ----------------------------------
>                 Key: SOLR-9886
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Pushkar Raste
>            Assignee: Noble Paul
>            Priority: Minor
>         Attachments: EnableDisableCacheAttribute.patch, SOLR-9886.patch
> There is no elegant way to turn off caches (filterCache, queryResultCache etc) from the
solrconfig. When I tried setting size and initialSize to zero, it resulted in caches of size
2. Here is the code that overrides setting zero sized cache. 
> Only way to disable cache right now is by removing cache configs from the solrConfig,
but we can simply provide an attribute to disable cache, so that we can override it using
a system property. 

This message was sent by Atlassian JIRA

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

View raw message