Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46AD617632 for ; Sat, 25 Apr 2015 09:14:07 +0000 (UTC) Received: (qmail 93956 invoked by uid 500); 25 Apr 2015 09:14:05 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 93883 invoked by uid 500); 25 Apr 2015 09:14:05 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 93872 invoked by uid 99); 25 Apr 2015 09:14:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Apr 2015 09:14:05 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.191.145.13 which is an MX secondary for java-user@lucene.apache.org) Received: from [54.191.145.13] (HELO mx1-us-west.apache.org) (54.191.145.13) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Apr 2015 09:13:59 +0000 Received: from mail.sd-datasolutions.de (serv2.sd-datasolutions.de [85.25.204.22]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTP id 8C6052302C for ; Sat, 25 Apr 2015 09:13:39 +0000 (UTC) Received: from VEGA (unknown [IPv6:2001:1a80:2b01:7101:8e70:5aff:fed1:75a4]) by mail.sd-datasolutions.de (Postfix) with ESMTPSA id 6283A16F802C8 for ; Sat, 25 Apr 2015 09:13:38 +0000 (UTC) X-NSA-Greeting: Dear NSA, have fun with reading and analyzing this e-mail! From: "Uwe Schindler" To: References: <00ca01d07f32$a20ce1f0$e626a5d0$@thetaphi.de> In-Reply-To: <00ca01d07f32$a20ce1f0$e626a5d0$@thetaphi.de> Subject: RE: StandardTokenizerImpl generation question Date: Sat, 25 Apr 2015 11:13:38 +0200 Message-ID: <00d401d07f38$1e3a55a0$5aaf00e0$@thetaphi.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGZ/GMJDcDr/lV7C7ikIrWM7P7N8wK6vORVnbShBzA= Content-Language: de X-Virus-Checked: Checked by ClamAV on apache.org Hi, I checked the source codes of Lucene, there is no such warning anymore. = Which version do you use and in which file did you find the warning? In = any case, for older versions of Lucene you should really use the version = mentioned there to regenerate, to be sure the behavior of the Tokenizer = is the one you want to have. It is easy to do if you use the corresponding ANT task for regenerating = ("ant jflex" or "ant regenerate"). Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: uwe@thetaphi.de > -----Original Message----- > From: Uwe Schindler [mailto:uwe@thetaphi.de] > Sent: Saturday, April 25, 2015 10:34 AM > To: java-user@lucene.apache.org > Subject: RE: StandardTokenizerImpl generation question >=20 > Hi, >=20 > the documentation is this file is not really up-to-date. >=20 > If you want to regenerate the jflex files, it is recommended to use = the build > script of Lucene. If you type "ant regenerate" or "ant jflex" (in the = folder of > the analysis module), the build system will download the correct = version of > JFlex and regenerate the scripts. Currently this is version 1.6.0. The = warning > was primarily there because of older versions of JFlex that used the = Unicode > version of the JVM which is no longer the case. >=20 > Could you may be open an issue to update the documentation in the = files? >=20 > Uwe >=20 > ----- > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: uwe@thetaphi.de >=20 > > -----Original Message----- > > From: Youngho Cho [mailto:youngho1203@gmail.com] > > Sent: Saturday, April 25, 2015 4:40 AM > > To: java-user@lucene.apache.org > > Subject: StandardTokenizerImpl generation question > > > > Hello, > > > > I would like to generate my own tokenizer which is slightly modify = the > > StandardTokenizerImpl*.jflex. > > > > But I read the READ_BEFORE_GENERATING.txt. > > > > Currently, the jflex version is 1.6.1. but the document recommend to > > use jflex 1.5 only. > > > > Still this message is valid and do I have to generate a tokenizer > > using old version of jflex ? > > > > > > Thanks, > > > > Youngho > > > > = --------------------------------------------------------------------- > > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > > For additional commands, e-mail: java-user-help@lucene.apache.org >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org