StandardTokenizer parses decimal number as <HOST> -------------------------------------------------
Key: LUCENE-571 URL: http://issues.apache.org/jira/browse/LUCENE-571 Project: Lucene - Java Type: Bug Components: Analysis Versions: 1.9 Reporter: Tom Emerson Priority: Minor The standard tokenizer in 1.9.1 returns a decimal number such as "3.14" as a <HOST>, though a number like "3,141.59" is returned as a <NUM>. I believe, though I haven't tried it yet, that moving the rule for <HOST> after <NUM>, instead of before it, will obviate this. Or updating <HOST> to require a TLD as the last component, which would require you to split the interpretation of IP addresses from name-based addresses. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]