[
https://issues.apache.org/jira/browse/NUTCH-1464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13695736#comment-13695736
]
Sebastian Nagel commented on NUTCH-1464:
----------------------------------------
Hi, [~lewismc], values of one field are split at spaces, cf. example in
NUTCH-940. If the {{index.static}} property contains "{{date: today :
tomorrow,time: 1hour}}" a colon will be one of the values for field "date".
With "{{date: today:tomorrow, time: 1hour}}" you get "{{today:tomorrow}}" as
value.
> 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.8
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira