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

Histogram puts high values in incorrect buckets due to rounding errors

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: Admin UI
    • Labels:
      None

      Description

      the LukeRequestHander uses some log math to compute the histogram buckets, but this leads to rounding errors.

      a more precise calculation can be found using bitshifting. (discovered while looking into SOLR-1103)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: