[
https://issues.apache.org/jira/browse/SOLR-14307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17073069#comment-17073069
]
ASF subversion and git services commented on SOLR-14307:
--------------------------------------------------------
Commit f779bc632d107bb8cf28ffa2b2ada4cb58203e8a in lucene-solr's branch
refs/heads/master from Chris M. Hostetter
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=f779bc6 ]
SOLR-14307: User defined "<cache/>" entries in solrconfig.xml now support
enabled="true|false" just like core searcher caches.
> "user caches" don't support "enabled" attribute
> -----------------------------------------------
>
> Key: SOLR-14307
> URL: https://issues.apache.org/jira/browse/SOLR-14307
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Chris M. Hostetter
> Assignee: Chris M. Hostetter
> Priority: Major
> Attachments: SOLR-14307.patch
>
>
> while trying to help write some test cases for SOLR-13807 i discovered that
> the code path used for building the {{List<CacheConfig>}} of _user_ caches
> (ie: {{<cache name="..." />}} doesn't respect the idea of an "enabled"
> attribute ... that is only checked for in the code path use for building
> singular CacheConfig options from explicit xpaths (ie: {{<filterCache ...
> />}} etc...)
> We should fix this, if for no other reason then so it's easy for tests to use
> system properties to enable/disable all caches.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]