How is the format of utc string? Example?
thx

-----Ursprüngliche Nachricht-----
Von: Chris Hostetter [mailto:hossman_luc...@fucit.org] 
Gesendet: Mittwoch, 22. Mai 2013 00:03
An: solr-user@lucene.apache.org
Betreff: Re: Date Field

: 2) Chain TemplateTransformer either by itself or before the
: DateFormatTransformer (not sure if evaluator spits the date out or
: not). Either way, I think you should be able to use the formatDate
: function in the transformer

That sounds correct .. it should be possible to use TemplateTransformer (or
something like RegexTransformer) prior to DateFormatTransformer so that the
value you extract from the xpath (ie: "5/13") gets the literal string " UTC"
appended to it, and then configure a dateTimeFormat that parses the timezone
from the value (ie: "MM/yy z")


-Hoss


Reply via email to