[ https://issues.apache.org/jira/browse/LUCENE-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14028365#comment-14028365 ]
Steve Merritt edited comment on LUCENE-5753 at 6/11/14 8:43 PM: ---------------------------------------------------------------- Wow, you're right. Engineering intern strikes again. EDIT: Didn't see the second comment. :) In your opinion, should I bother patching it for my company on our end or wait for an update? was (Author: stevemer): Wow, you're right. Engineering intern strikes again. However, shouldn't uax_url_email recognize the .local extension when parsing? > TLD lists for UAX_URL_EMAIL analyzer are incomplete - cannot recognize TLD > ".local" among others > ------------------------------------------------------------------------------------------------ > > Key: LUCENE-5753 > URL: https://issues.apache.org/jira/browse/LUCENE-5753 > Project: Lucene - Core > Issue Type: Bug > Components: modules/analysis > Reporter: Steve Merritt > > uax_url_email analyzer appears unable to recognize the ".local" TLD among > others. Bug can be reproduced by > curl -XGET > "ADDRESS/INDEX/_analyze?text=First%20Last%20lname@section.mycorp.local&pretty&analyzer=uax_url_email" > will parse "ln...@section.my" and "corp.local" as separate tokens, as opposed > to > curl -XGET > "ADDRESS/INDEX/_analyze?text=first%20last%20ln...@section.mycorp.org&pretty&analyzer=uax_url_email" > which will recognize "ln...@section.mycorp.org". > Can this be fixed by updating to a newer version? I am running ElasticSearch > 0.90.5 and whatever Lucene version sits underneath that. My suspicion is that > the TLD list the analyzer relies on (http://www.internic.net/zones/root.zone, > I think?) is incomplete and needs updating. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org