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

Make CountMetric return long instead of double

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 6.0
    • 6.1
    • None
    • None

    Description

      CountMetric currently is forced to return a double when it should return a long. This causes issues with SQL integration. The Metric abstract class getValue() should be a Number and not a double. A few minor changes must be made to the other *Metric classes to support this.

      Attachments

        1. SOLR-9066.patch
          13 kB
          Kevin Risden

        Issue Links

          Activity

            People

              krisden Kevin Risden
              krisden Kevin Risden
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: