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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.0
    • None
    • 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

            tflobbe Tomas Eduardo Fernandez Lobbe
            tflobbe Tomas Eduardo Fernandez Lobbe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: