You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Markus Jelsma (JIRA)" <ji...@apache.org> on 2011/06/20 18:46:47 UTC

[jira] [Commented] (NUTCH-999) Normalise String representation for Dates in IndexingFilters

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

Markus Jelsma commented on NUTCH-999:
-------------------------------------

I don't see this committed for 2.0 in solrwriter.java but this is marked as resolved.

{code}
    for(final Entry<String, List<String>> e : doc) {
      for (final String val : e.getValue()) {
        inputDoc.addField(solrMapping.mapKey(e.getKey()), val);
        String sCopy = solrMapping.mapCopyKey(e.getKey());
        if (sCopy != e.getKey()) {
        	inputDoc.addField(sCopy, val);
        }
      }
    }
{code}

> Normalise String representation for Dates in IndexingFilters
> ------------------------------------------------------------
>
>                 Key: NUTCH-999
>                 URL: https://issues.apache.org/jira/browse/NUTCH-999
>             Project: Nutch
>          Issue Type: Task
>          Components: indexer
>    Affects Versions: 2.0
>            Reporter: Julien Nioche
>             Fix For: 2.0
>
>         Attachments: NUTCH-999.patch
>
>
> NUTCH-997 has been applied to Nutch-1.3 so that various indexing filters store Date objects as value for fields. However in trunk NutchDocuments can have only String values which means that we will have to convert the Dates to Strings in each indexing filter.  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira