You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/12/06 22:55:10 UTC
[jira] [Commented] (NUTCH-2172) index-more: document format of
contenttype-mapping.txt
[ https://issues.apache.org/jira/browse/NUTCH-2172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15044172#comment-15044172 ]
Hudson commented on NUTCH-2172:
-------------------------------
SUCCESS: Integrated in Nutch-trunk #3323 (See [https://builds.apache.org/job/Nutch-trunk/3323/])
NUTCH-2172 index-more: document format of contenttype-mapping.txt (snagel: [http://svn.apache.org/viewvc/nutch/trunk/?view=rev&rev=1718223])
* trunk/CHANGES.txt
* trunk/conf/contenttype-mapping.txt.template
* trunk/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/MoreIndexingFilter.java
> index-more: document format of contenttype-mapping.txt
> ------------------------------------------------------
>
> Key: NUTCH-2172
> URL: https://issues.apache.org/jira/browse/NUTCH-2172
> Project: Nutch
> Issue Type: Improvement
> Components: indexer, metadata
> Affects Versions: 1.10
> Environment: Macosx, Java 8
> Reporter: Nicola Tonellotto
> Assignee: Sebastian Nagel
> Priority: Minor
> Labels: easyfix, newbie
> Fix For: 1.12
>
> Attachments: NUTCH-2172-1.patch, NUTCH-2172-2.patch
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> The index-more plugin uses the conf/contenttype-mapping.txt file to build up the mimeMap hash table (in the readConfiguration() method).
> The line splitting is performed around "\t", so it silently skip lines separated by simple spaces or more than one tab (see line 325).
> Changing the single-char string "\t" with the regex "\\s+" should do the magic.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)