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

Performance degradation with fl=abc_* in 9.5.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 9.5
    • None
    • query, search

    Description

      Huge (3+x!) performance degradation with "fl=abc_*" occurs with version 9.5.0 due to the use of

      org.apache.solr.common.util.GlobPatternUtil.matches
      

      instead of (in <=9.4.1)

      org.apache.commons.io.FilenameUtils.wildcardMatch
      

      , which is very inefficient and was introduced with Github pull request | issue SOLR-17022

      Call tree 9.4.1 vs 9.5.0 attached

      Attachments

        1. 9.5.0_trace.png
          140 kB
          Alex Tkachuk
        2. 9.4.1_trace.png
          127 kB
          Alex Tkachuk

        Issue Links

          Activity

            People

              jsweeney Justin Sweeney
              decim Alex Tkachuk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: