You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Merritt (JIRA)" <ji...@apache.org> on 2014/06/11 22:08:02 UTC

[jira] [Created] (LUCENE-5753) TLD lists for UAX_URL_EMAIL analyzer are incomplete - cannot recognize TLD ".local" among others

Steve Merritt created LUCENE-5753:
-------------------------------------

             Summary: 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 "lname@section.my" and "corp.local" as separate tokens, as opposed to

curl -XGET "ADDRESS/INDEX/_analyze?text=First%20Last%20lname@section.mycorp.org&pretty&analyzer=uax_url_email"

which will recognize "lname@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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org