[ https://issues.apache.org/jira/browse/NUTCH-963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987559#action_12987559 ]
Markus Jelsma commented on NUTCH-963: ------------------------------------- The class works fine although i did add a commit in the reducer's close method. I propose changing the name Solr404Deleter to something more generic, _solrclean_ or _solrpurge_ etc. This is because we might also use this feature to delete documents for pages that are moved but return a HTTP permanent redirect instead of a 404. > Add support for deleting Solr documents with STATUS_DB_GONE in CrawlDB (404 > urls) > --------------------------------------------------------------------------------- > > Key: NUTCH-963 > URL: https://issues.apache.org/jira/browse/NUTCH-963 > Project: Nutch > Issue Type: New Feature > Components: indexer > Affects Versions: 2.0 > Reporter: Claudio Martella > Assignee: Markus Jelsma > Priority: Minor > Fix For: 1.3, 2.0 > > Attachments: Solr404Deleter.java > > > When issuing recrawls it can happen that certain urls have expired (i.e. URLs > that don't exist anymore and return 404). > This patch creates a new command in the indexer that scans the crawldb > looking for these urls and issues delete commands to SOLR. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.