[
https://issues.apache.org/jira/browse/SOLR-7688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gregory Chanan resolved SOLR-7688.
----------------------------------
Resolution: Fixed
Fix Version/s: Trunk
5.3
Thanks for taking a look, Ishan.
Committed to Trunk, 5.3, and 5.2.2 (there is no 5.2.2 version in jira at the
moment).
> JettyConfig cannot be used with extra filters
> ---------------------------------------------
>
> Key: SOLR-7688
> URL: https://issues.apache.org/jira/browse/SOLR-7688
> Project: Solr
> Issue Type: Improvement
> Affects Versions: 5.1
> Reporter: Gregory Chanan
> Assignee: Gregory Chanan
> Fix For: 5.3, Trunk
>
> Attachments: SOLR-7688.patch, SOLR-7688.patch
>
>
> Before SOLR-7166, users could create a MiniSolrCloudCluster with extra
> filters by specifying their own SortedMap and comparator (since Class<?
> extends Filter> is not comparable). JettyConfigs allow you to specify filter
> classes to add, but they don't work because JettyConfigs manages its own
> filter map using TreeMap. Thus, there is no way to specify a comparator and
> it fails at runtime with "Class cannot be cast to java.lang.comparable."
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]