You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2015/07/03 18:25:04 UTC

[jira] [Resolved] (NUTCH-2052) Enhance index-static to allow configurable delimiters

     [ https://issues.apache.org/jira/browse/NUTCH-2052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris A. Mattmann resolved NUTCH-2052.
--------------------------------------
    Resolution: Fixed

Committed, thanks!

{noformat}
[mattmann-0420740:~/tmp/nutch-trunk] mattmann% svn commit -m "Fix for NUTCH-2052:Enhance index-static to allow configurable delimiters contributed by PeterCiuffetti <pc...@astreetpress.com> this closes #43."
Sending        src/plugin/index-static/src/java/org/apache/nutch/indexer/staticfield/StaticFieldIndexer.java
Sending        src/plugin/index-static/src/test/org/apache/nutch/indexer/staticfield/TestStaticFieldIndexerTest.java
Transmitting file data ..
Committed revision 1689044.
{noformat}


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