hadoop - Does Morphline convertTimestamp command work for multiple fields in solr schema -


hi have multiple date fields in solr schema , in different formats. using morphlineindexertool index data , load in solr.

i not having problems indexing 1 date field if try index multiple date filed using converttimestamp command in morphline conf not able see data indexed. how wrote mrphline.conf multiple timestamps.

{converttimestamp { field : timestamp1 inputformats : ["yyyy-mm-dd't'hh:mm:ss.sss'z'", "yyyy-mm-dd't'hh:mm:ss", "yyyy-mm-dd"] inputtimezone : america/los_angeles outputformat : "yyyy-mm-dd't'hh:mm:ss.sssz" outputtimezone : utc }}  {converttimestamp { field : timestamp2 inputformats : ["yyyy-mm-dd't'hh:mm:ss.sss'z'", "yyyy-mm-dd't'hh:mm:ss", "yyyy-mm-dd"] inputtimezone : america/los_angeles outputformat : "yyyy-mm-dd't'hh:mm:ss.sssz" outputtimezone : utc }} 

is right way in morphlines? can't see examples online multiple timestamps.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -