[
https://issues.apache.org/jira/browse/NUTCH-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18014847#comment-18014847
]
ASF GitHub Bot commented on NUTCH-3122:
---------------------------------------
TamimEhsan opened a new pull request, #859:
URL: https://github.com/apache/nutch/pull/859
PR for https://issues.apache.org/jira/browse/NUTCH-3122
The `SpellCheckedMetadata` class adds spellchecking capabilities to some
fixed HTTP headers. However, other metadatas remain case sensitive. By
extending `CaseInsensitiveMetadata` instead of `Metadata` provides the case
insensitivity features.
> Make SpellCheckedMetadata case-insensitive for all Metadata names
> -----------------------------------------------------------------
>
> Key: NUTCH-3122
> URL: https://issues.apache.org/jira/browse/NUTCH-3122
> Project: Nutch
> Issue Type: Improvement
> Components: metadata
> Affects Versions: 1.21
> Reporter: Sebastian Nagel
> Priority: Major
> Fix For: 1.22
>
>
> See NUTCH-3002 and the discussion in
> [stormcrawler#1588|https://github.com/apache/stormcrawler/issues/1588]:
> - we have CaseInsensitiveMetadata (used by protocol-okhttp) and
> - SpellCheckedMetadata (used elsewhere) which does case-insensitive look-ups
> only for header listed in
> [HttpHeaders|https://github.com/apache/nutch/blob/master/src/java/org/apache/nutch/metadata/HttpHeaders.java]
> We might consider to make SpellCheckedMetadata case-insensitive in general.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)