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

Date statistics: make "sum" a double instead of a long/date

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently DateStatsValues#sum is defined as long, and returned as a date. This has two problems: It overflows (with ~6 million values), and the return value can be a date like <date name="sum">122366-06-12T21:06:06Z</date>. I think we should just change this stat to a double. See SOLR-8420.
      I think we can change this only in master, since it will break backward compatibility.

        Attachments

          Activity

            People

            • Assignee:
              tomasflobbe Tomás Fernández Löbbe
              Reporter:
              tomasflobbe Tomás Fernández Löbbe
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: