velocity - Source of change in timestamp-format in default solr implementation -
in solr index format of date-field "2014-06-27t10:25:56.204z" expected. can see when calling: /solr/admin/luke?wt=xslt&tr=luke.xsl&fl=description&numterms=200&docid=2
anyhow format of date-field coming solritas (the default responsewriter) fri jun 27 10:25:56 cest 2014.
i can't find location, transformation happens in order change format of date-field according needs.
i haven't found source of format change yet, know how change format anyhow:
#set($mydate = $doc.getfieldvalue('mydate')) $date.format("d. mmm. yyyy, h:mm",$mydate)
Comments
Post a Comment