Aaron McMillin created SOLR-6490:
------------------------------------

             Summary: ValueSourceParser function "max" does not handle dates.
                 Key: SOLR-6490
                 URL: https://issues.apache.org/jira/browse/SOLR-6490
             Project: Solr
          Issue Type: Bug
          Components: query parsers
            Reporter: Aaron McMillin
            Priority: Minor


As a user
when trying to use sort=max(date1_field_tdt, date2_field_tdt)
I expect documents to be returned in order

Currently this is not the case. Dates are stored as Long, but max uses 
MaxFloatFunction which casts them to Floats thereby losing precision.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to