You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Peter Ciuffetti (JIRA)" <ji...@apache.org> on 2015/06/30 13:33:05 UTC

[jira] [Commented] (NUTCH-1464) index-static plugin doesn't allow the colon within the field value

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

Peter Ciuffetti commented on NUTCH-1464:
----------------------------------------

In NUTCH-2052 I have approached this enhancement in a slightly different way.  By allowing configurable delimiters, you could use a custom separator between the fieldname and field value.   This covers issues not only with internal colons in the field value, but also internal commas and spaces.

> index-static plugin doesn't allow the colon within the field value
> ------------------------------------------------------------------
>
>                 Key: NUTCH-1464
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1464
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 1.5
>            Reporter: Luca Cavanna
>            Priority: Minor
>             Fix For: 1.11
>
>         Attachments: NUTCH-1464.patch, NUTCH-1464v2.patch, NUTCH-1464v3.patch
>
>
> If I want to configure a static field with a value containing a colon, the index-static plugin does nothing. There's a string split based on the colon character and if the result is an array of length 2 everything is fine, otherwise nothing happens, the static field is not set.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)