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

Make CountMetric return long instead of double

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: 6.0
    • Fix Version/s: 6.1
    • Component/s: None
    • Labels:
      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

          Issue Links

            Activity

              People

              • Assignee:
                risdenk Kevin Risden
                Reporter:
                risdenk Kevin Risden
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: