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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1, 6.0
    • Component/s: None
    • Labels:
      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

          Issue Links

            Activity

              People

              • Assignee:
                hossman Hoss Man
                Reporter:
                hossman Hoss Man
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: