You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2009/06/12 13:05:07 UTC
[jira] Commented: (LUCENE-1403) StandardTokenizer - Improper
Hostname Recognition
[ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org