[ 
https://issues.apache.org/jira/browse/NUTCH-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13883997#comment-13883997
 ] 

Markus Jelsma commented on NUTCH-1414:
--------------------------------------

Hi - you don't have to change it, it is already in the format Solr requires. 
Solr's field needs to be configured as DateField and the date has to be sent as 
string in the correct format: SimpleDateFormat formattedDate = new 
SimpleDateFormat("yyyy-MM-dd'T00:00:00'Z");

http://lucene.apache.org/solr/4_6_0/solr-core/org/apache/solr/schema/DateField.html

I don't know what you're doing wrong but check the logs and check your config, 
perhaps again :)

> 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)

Reply via email to