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

StatsComponent perf improvement for min, max, and situations where all stats disabled

    XMLWordPrintableJSON

Details

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

    Description

      as mentioned in SOLR-6349, when i started doing perf testing of requesting individual stats, i noticed that min (and it turns out max) were slower to compute then more complex stats like sum & mean.

      While investigating, i realized that we can also optimize the case where a stats.field param is specified, but no stats are computed for example: stats.field=

      {!min=$doMin}

      fieldname&doMin=false

      Attachments

        1. SOLR-7324.patch
          5 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: