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

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

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

        Issue Links

        Activity

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

          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:

              Slack

                Issue deployment