[ 
https://issues.apache.org/jira/browse/NUTCH-1321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

İlhami KALKAN updated NUTCH-1321:
---------------------------------

    Attachment: idnNormalizer.patch

Hi Sebastian,
I dont know enough information about 1.x so I patched it for 2.x.
You are right. isPunycode() method is unefficient and not necessary. According 
to convert every url which will index, only convert urls which contains "xn--" 
that ACE prefix for IDNA. I fixed it. Thanks!

> IDNNormalizer
> -------------
>
>                 Key: NUTCH-1321
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1321
>             Project: Nutch
>          Issue Type: New Feature
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.9
>
>         Attachments: idnNormalizer.patch
>
>
> Right now, IDN's are indexed as ASCII. An IDNNormalizer is to be used with an 
> indexer so it will encode ASCII URL's to their proper unicode equivalant.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to