[
https://issues.apache.org/jira/browse/NUTCH-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13884073#comment-13884073
]
Luke commented on NUTCH-1414:
-----------------------------
I think I found the culprit.
>From the link you gave, Solr wants something like: {{1995-12-31T23:59:59Z}}
SimpleDateFormat, with the above formatting string, will return (eg):
{{1995-12-31T00:00:00+0000}} - that is, as Z is not quoted it is processed as a
formatting code.
{{SimpleDateFormat formattedDate = new
SimpleDateFormat("yyyy-MM-dd'T00:00:00Z'");}}
Does this make sense?
> Date extraction parse filter
> ----------------------------
>
> Key: NUTCH-1414
> URL: https://issues.apache.org/jira/browse/NUTCH-1414
> Project: Nutch
> Issue Type: New Feature
> Components: parser
> Reporter: Markus Jelsma
> Assignee: Markus Jelsma
> Fix For: 1.9
>
> Attachments: NUTCH-1414-1.6-1-testdata.patch, NUTCH-1414-1.6-1.patch
>
>
> Date extraction parse filter for Nutch to provide means to extract an
> arbitrary page date (article date) from the parse text.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)