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

JettyConfig cannot be used with extra filters

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment