Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 7569 invoked from network); 1 Mar 2010 13:20:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Mar 2010 13:20:29 -0000 Received: (qmail 85226 invoked by uid 500); 1 Mar 2010 13:20:27 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 85113 invoked by uid 500); 1 Mar 2010 13:20:27 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 85101 invoked by uid 99); 1 Mar 2010 13:20:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Mar 2010 13:20:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Mar 2010 13:20:27 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 22AC829A0016 for ; Mon, 1 Mar 2010 13:20:07 +0000 (UTC) Message-ID: <75727699.32781267449607141.JavaMail.jira@brutus.apache.org> Date: Mon, 1 Mar 2010 13:20:07 +0000 (UTC) From: "Ronan KERDUDOU (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-1100) StandardTokenizer incorrectly types certain values In-Reply-To: <17869629.1198673803277.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-1100?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D128= 39670#action_12839670 ]=20 Ronan KERDUDOU commented on LUCENE-1100: ---------------------------------------- when having in a text : "5.3.2-bl=C3=A0hblah" this is detected as a NUM... = and "2.45" is detected as a HOST... I think when there's a mix of alpha and num the '-' should be considered as= a whitespace... and that a {NUMERIC}[.,]{NUMERIC} must be a NUM and not a = HOST. also something like "image.gif" shouldn't be a HOST... I know it's very difficult to make this flex file perfect. "TEST" and "2010" are ALPHANUM, I would prefer to distinguish a ALPHA and a= NUMERIC instead of ALPHANUM... "2,5" and "9-juin-2009" are NUM, i would prefer to distinguish NUM_DECIMAL = and NUM_LIKE i think sometimes we would have a better index if we could have 2 tokens wi= th the same part of the file. for exemple : "5.3.2-bl=C3=A0hblah" would make a token but another token "b= l=C3=A0hblah" should be added. maybe we should do it in the StandardTokenizer to complete the power of the= flex file ? > StandardTokenizer incorrectly types certain values > -------------------------------------------------- > > Key: LUCENE-1100 > URL: https://issues.apache.org/jira/browse/LUCENE-1100 > Project: Lucene - Java > Issue Type: Bug > Components: Analysis > Affects Versions: 2.2 > Reporter: Grant Ingersoll > Priority: Minor > > The StandardTokenizer incorrectly marks floating point values as . = See https://issues.apache.org/jira/browse/LUCENE-1068. There may be other= things like this that are marked as incorrectly as well. --=20 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