[
https://issues.apache.org/jira/browse/NUTCH-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Markus Jelsma updated NUTCH-2678:
---------------------------------
Description:
Introduces new configuration file for mapping protocol plugins to hostnames.
{code}
# This file defines a hostname to protocol plugin mapping. Each line takes a
# host name followed by a tab, followed by the ID of the protocol plugin. You
# can find the ID in the protocol plugin's plugin.xml file.
#
# <hostname>\t<plugin_id>\n
# nutch.apache.org org.apache.nutch.protocol.httpclient.Http
# tika.apache.org org.apache.nutch.protocol.http.Http
#{code}
was:
Introduces new parameter for protocol plugins called host. It takes a comma
separated set of host names. Protocols are resolved by hostname first, then by
protocol as it is now.
{code}
<extension id="org.apache.nutch.protocol.http"
name="HttpProtocol"
point="org.apache.nutch.protocol.Protocol">
<implementation id="org.apache.nutch.protocol.http.Http"
class="org.apache.nutch.protocol.http.Http">
<parameter name="host" value="nutch.apache.org"/>
<parameter name="protocolName" value="http,https"/>
</implementation>
</extension>
{code}
> Allow for per-host configurable protocol plugin
> -----------------------------------------------
>
> Key: NUTCH-2678
> URL: https://issues.apache.org/jira/browse/NUTCH-2678
> Project: Nutch
> Issue Type: Improvement
> Components: protocol
> Affects Versions: 1.15
> Reporter: Markus Jelsma
> Assignee: Markus Jelsma
> Priority: Major
> Fix For: 1.16
>
> Attachments: NUTCH-2678.patch, NUTCH-2678.patch, NUTCH-2678.patch
>
>
> Introduces new configuration file for mapping protocol plugins to hostnames.
> {code}
> # This file defines a hostname to protocol plugin mapping. Each line takes a
> # host name followed by a tab, followed by the ID of the protocol plugin. You
> # can find the ID in the protocol plugin's plugin.xml file.
> #
> # <hostname>\t<plugin_id>\n
> # nutch.apache.org org.apache.nutch.protocol.httpclient.Http
> # tika.apache.org org.apache.nutch.protocol.http.Http
> #{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)