lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-3880) UAX29URLEmailTokenizer fails to recognize emails as such when the mailto: scheme is prepended
Date Sun, 18 Mar 2012 14:32:47 GMT

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

Steven Rowe updated LUCENE-3880:
--------------------------------

    Description: 
As [reported by Kai Gülzau on solr-user|http://markmail.org/message/n32kji3okqm2c5qn]:

UAX29URLEmailTokenizer seems to split at the wrong place:

{noformat}mailto:test@example.org{noformat} ->
{noformat}mailto:test{noformat}
{noformat}example.org{noformat}

As a workaround I use

{code:xml}
<charFilter class="solr.PatternReplaceCharFilterFactory" pattern="mailto:" replacement="mailto:
"/>
{code}

  was:
As [reported by Kai Gülzau on solr-user|http://markmail.org/message/n32kji3okqm2c5qn]:

UAX29URLEmailTokenizer seems to split at the wrong place:

mailto:test@example.org ->
mailto:test
example.org

As a workaround I use

<charFilter class="solr.PatternReplaceCharFilterFactory" pattern="mailto:" replacement="mailto:
"/>


    
> UAX29URLEmailTokenizer fails to recognize emails as such when the mailto: scheme is prepended
> ---------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3880
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3880
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 3.5, 4.0
>            Reporter: Steven Rowe
>            Assignee: Steven Rowe
>            Priority: Minor
>
> As [reported by Kai Gülzau on solr-user|http://markmail.org/message/n32kji3okqm2c5qn]:
> UAX29URLEmailTokenizer seems to split at the wrong place:
> {noformat}mailto:test@example.org{noformat} ->
> {noformat}mailto:test{noformat}
> {noformat}example.org{noformat}
> As a workaround I use
> {code:xml}
> <charFilter class="solr.PatternReplaceCharFilterFactory" pattern="mailto:" replacement="mailto:
"/>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


Mime
View raw message