[
https://issues.apache.org/jira/browse/NUTCH-2052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14614070#comment-14614070
]
Peter Ciuffetti commented on NUTCH-2052:
----------------------------------------
Noticing that my changes to nutch-default.xml in NUTCH-2052 were not part of
the commit.
{code}
<property>
<name>index.static.fieldsep</name>
<value>,</value>
<description>
Used by plugin index-static to parse the property index.static. Default:
comma.
This delimiter is used to separate individual field specifications in the
property.
</description>
</property>
<property>
<name>index.static.keysep</name>
<value>:</value>
<description>
Used by plugin index-static to parse the property index.static. Default:
colon.
This delimiter is used to separate the field name from the field value in the
field specification.
</description>
</property>
<property>
<name>index.static.valuesep</name>
<value> </value>
<description>
Used by plugin index-static to parse the property index.static. Default:
space.
This delimiter is used to separate multiple field values in the value setting
of the field specification.
</description>
</property>
{code}
...shall I re-do this change?
> Enhance index-static to allow configurable delimiters
> -----------------------------------------------------
>
> Key: NUTCH-2052
> URL: https://issues.apache.org/jira/browse/NUTCH-2052
> Project: Nutch
> Issue Type: Improvement
> Components: indexer
> Affects Versions: 1.10
> Reporter: Peter Ciuffetti
> Assignee: Chris A. Mattmann
> Fix For: 1.11
>
>
> The index-static plugin has a set of fixed-value delimiters that control the
> parsing of the property index.static.
> comma is used to separate fields
> colon is used to separate field name from field value
> space is used to separate multiple values in the field
> This set of choices makes it impossible to have a fixed field value
> containing a space, comma or colon.
> The proposed enhancement is to allow configuration properties to override any
> of these defaults.
> index.static.fieldsep (default comma)
> index.static.keysep (default colon)
> index.static.valuesep (default space)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)