SOLR-6354: stats.field can now be used to generate stats over the numeric results of arbitrary functions (merge r1626856)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1626875 13f79535-47bb-0310-9956-ffa450edef68