[ 
https://issues.apache.org/jira/browse/LUCENE-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718793#action_12718793
 ] 

Michael McCandless commented on LUCENE-1403:
--------------------------------------------

Note that with matchVersion (pending patch on LUCENE-1684) it'd be easy to fix 
this while allowing back-compat users to precisely preserve the old behavior.

> StandardTokenizer - Improper Hostname Recognition
> -------------------------------------------------
>
>                 Key: LUCENE-1403
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1403
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 2.3.1, 2.3.2
>         Environment: Java 5
>            Reporter: Cullin Wible
>
> As of 2.3.1 the documentation for the StandardTokenizer states that it 
> "Recognizes email addresses and internet hostnames as one token."
> However hostnames such as "my-host.com" are recognized as two tokens "my" and 
> "host.com".
> Any host with a dash in the name is not recognized properly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to