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 0074317867 for ; Sat, 25 Apr 2015 11:37:32 +0000 (UTC) Received: (qmail 27640 invoked by uid 500); 25 Apr 2015 11:37:25 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 27575 invoked by uid 500); 25 Apr 2015 11:37:25 -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 27552 invoked by uid 99); 25 Apr 2015 11:37:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Apr 2015 11:37:24 +0000 X-ASF-Spam-Status: No, hits=0.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: message received from 54.76.25.247 which is an MX secondary for java-user@lucene.apache.org) Received: from [54.76.25.247] (HELO mx1-eu-west.apache.org) (54.76.25.247) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Apr 2015 11:36:59 +0000 Received: from mail-ob0-f170.google.com (mail-ob0-f170.google.com [209.85.214.170]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 877FB25FBC for ; Sat, 25 Apr 2015 11:36:40 +0000 (UTC) Received: by oblw8 with SMTP id w8so55098602obl.0 for ; Sat, 25 Apr 2015 04:35:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=ftvhEpviXDHf3ROdiow73k8WXimHAV/4usbeCyNkUpo=; b=TCLvmNxnDCKgp7XACdu+P9Y/ESmHTmc4rbd2yZ9BLj7eQaxyiMsa6jYDXQ6vAtzWfo 2bllULCdLreWPkQAJwsOe7OSlHwAdjP/CW9Urxat6rjiBZbSxyUJBtCkXv6+a0kn7vr6 +tpZtaPdUMbKKhwHAEMFNtS+2DpXjmjp7xrCDRFZwSkbuWWy1DBTm96X5NEaT9zUvnBd 2uCGHcHQWu5LVBuFz2OBF+9F5yG0PysCm3rwoKh0/SKL+iAchA3I8oDYBfr6C/8DcaBn HeFzzJbOfWYiERZblQ2kW7GIIbnv680T65tBn+f/FOEe+bcda8u/5GSL+vWcWjYeVZHw rPQQ== MIME-Version: 1.0 X-Received: by 10.182.49.137 with SMTP id u9mr2523751obn.24.1429961754400; Sat, 25 Apr 2015 04:35:54 -0700 (PDT) Received: by 10.202.85.151 with HTTP; Sat, 25 Apr 2015 04:35:54 -0700 (PDT) In-Reply-To: <00d401d07f38$1e3a55a0$5aaf00e0$@thetaphi.de> References: <00ca01d07f32$a20ce1f0$e626a5d0$@thetaphi.de> <00d401d07f38$1e3a55a0$5aaf00e0$@thetaphi.de> Date: Sat, 25 Apr 2015 20:35:54 +0900 Message-ID: Subject: Re: StandardTokenizerImpl generation question From: Youngho Cho To: java-user@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hello Uwe Schindler, Ah, Yes. You are right. 5.x removed that message file. I am still in 4.x. ( 4.10.4 has this file ) so far. Thanks for your kind consideration. Youngho 2015-04-25 18:13 GMT+09:00 Uwe Schindler : > Hi, > > I checked the source codes of Lucene, there is no such warning anymore. W= hich 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 mentio= ned there to regenerate, to be sure the behavior of the Tokenizer is the on= e 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 >> >> Hi, >> >> the documentation is this file is not really up-to-date. >> >> 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 fo= lder 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 w= arning >> was primarily there because of older versions of JFlex that used the Uni= code >> version of the JVM which is no longer the case. >> >> Could you may be open an issue to update the documentation in the files? >> >> Uwe >> >> ----- >> Uwe Schindler >> H.-H.-Meier-Allee 63, D-28213 Bremen >> http://www.thetaphi.de >> eMail: uwe@thetaphi.de >> >> > -----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 >> >> >> --------------------------------------------------------------------- >> 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org