nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (NUTCH-2052) Enhance index-static to allow configurable delimiters
Date Fri, 03 Jul 2015 16:25:04 GMT

     [ 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 <pciuffetti@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)

Mime
View raw message