Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7688

JettyConfig cannot be used with extra filters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.1
    • 5.2.2, 5.3, 6.0
    • None
    • None

    Description

      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."

      Attachments

        1. SOLR-7688.patch
          4 kB
          Gregory Chanan
        2. SOLR-7688.patch
          4 kB
          Gregory Chanan

        Activity

          People

            gchanan Gregory Chanan
            gchanan Gregory Chanan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: