[
https://issues.apache.org/jira/browse/NUTCH-2008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14543477#comment-14543477
]
Hudson commented on NUTCH-2008:
-------------------------------
SUCCESS: Integrated in Nutch-trunk #3119 (See
[https://builds.apache.org/job/Nutch-trunk/3119/])
NUTCH-2008 IndexerMapReduce to use single instance of NutchIndexAction for
deletions (snagel:
http://svn.apache.org/viewvc/nutch/trunk/?view=rev&rev=1679335)
* /nutch/trunk/CHANGES.txt
* /nutch/trunk/src/java/org/apache/nutch/indexer/IndexerMapReduce.java
> IndexerMapReduce to use single instance of NutchIndexAction for deletions
> -------------------------------------------------------------------------
>
> Key: NUTCH-2008
> URL: https://issues.apache.org/jira/browse/NUTCH-2008
> Project: Nutch
> Issue Type: Improvement
> Components: indexer
> Affects Versions: 1.10
> Reporter: Sebastian Nagel
> Assignee: Sebastian Nagel
> Priority: Trivial
> Fix For: 1.11
>
> Attachments: NUTCH-2008-trunk-v1.patch, NUTCH-2008-trunk-v2.patch
>
>
> For every URL/document to be deleted a new instance of NutchIndexAction is
> created in IndexerMapReduce (in multiple positions):
> {code}
> NutchIndexAction action = new NutchIndexAction(null,
> NutchIndexAction.DELETE);
> output.collect(key, action);
> {code}
> Since the index action does not hold any data specific to any URL/document it
> would be more efficient to re-use a single instance.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)