From lucene-user-melissagarcia@example.net Fri Aug 01 07:19:47 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 40537 invoked from network); 1 Aug 2003 07:19:46 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 07:19:46 -0000 Received: (qmail 28228 invoked by uid 97); 1 Aug 2003 07:22:33 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 28221 invoked from network); 1 Aug 2003 07:22:33 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Aug 2003 07:22:33 -0000 Received: (qmail 40286 invoked by uid 500); 1 Aug 2003 07:19:43 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 40266 invoked from network); 1 Aug 2003 07:19:42 -0000 Received: from unknown (HELO email.ctgpc.com.cn) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 07:19:42 -0000 From: melissagarcia@example.net Subject: =?gb2312?B?tPC4tDogVXNpbmcgamF2YWNjIGZvciBRdWVyeVBhcnNlci5qag==?= To: "Lucene Users List" <melissagarcia@example.net> X-Mailer: Lotus Notes R5.0 (Intl) 30 March 1999 Message-ID: <melissagarcia@example.net> Sender: melissagarcia@example.net Date: Fri, 1 Aug 2003 15:20:59 +0800 X-MIMETrack: Serialize by Router on IC_NSRV/CTGPC(Release 5.0.8 |June 18, 2001) at 2003-08-01 03:21:03 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, If you only want to compile QueryParser.jj,that's easy.First you must download the javaCC,then unzip it .add the directory(suppose c:\javacc) c: \javacc\bin to your path then you can use command javacc -option QueryParser.jj ,it will generate 7 java files. good luck --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net From lucene-user-melissagarcia@example.net Fri Aug 01 07:20:10 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 41343 invoked from network); 1 Aug 2003 07:20:09 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 07:20:09 -0000 Received: (qmail 28240 invoked by uid 97); 1 Aug 2003 07:22:56 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 28233 invoked from network); 1 Aug 2003 07:22:56 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Aug 2003 07:22:56 -0000 Received: (qmail 41064 invoked by uid 500); 1 Aug 2003 07:20:05 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 41049 invoked from network); 1 Aug 2003 07:20:05 -0000 Received: from unknown (HELO email.ctgpc.com.cn) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 07:20:05 -0000 From: melissagarcia@example.net Subject: =?gb2312?B?tPC4tDogVXNpbmcgamF2YWNjIGZvciBRdWVyeVBhcnNlci5qag==?= To: "Lucene Users List" <melissagarcia@example.net> X-Mailer: Lotus Notes R5.0 (Intl) 30 March 1999 Message-ID: <melissagarcia@example.net> Sender: melissagarcia@example.net Date: Fri, 1 Aug 2003 15:21:09 +0800 X-MIMETrack: Serialize by Router on IC_NSRV/CTGPC(Release 5.0.8 |June 18, 2001) at 2003-08-01 03:21:25 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, If you only want to compile QueryParser.jj,that's easy.First you must download the javaCC,then unzip it .add the directory(suppose c:\javacc) c: \javacc\bin to your path then you can use command javacc -option QueryParser.jj ,it will generate 7 java files. good luck --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net From lucene-user-melissagarcia@example.net Fri Aug 01 08:08:54 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 95379 invoked from network); 1 Aug 2003 08:08:53 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 08:08:53 -0000 Received: (qmail 29003 invoked by uid 97); 1 Aug 2003 08:11:41 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 28996 invoked from network); 1 Aug 2003 08:11:40 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Aug 2003 08:11:40 -0000 Received: (qmail 95066 invoked by uid 500); 1 Aug 2003 08:08:47 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 95052 invoked from network); 1 Aug 2003 08:08:47 -0000 Received: from anchor-post-35.mail.demon.net (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 08:08:47 -0000 Received: from pr-webmail-2.demon.net ([83.161.120.155] helo=web.mail.demon.net) by anchor-post-35.mail.demon.net with smtp (Exim 3.36 #2) id 19iUyB-000127-0Z; Fri, 01 Aug 2003 09:08:59 +0100 Received: from gobstopper.demon.co.uk ([83.161.120.155]) by web.mail.demon.net with http; Fri, 01 Aug 2003 09:08:59 +0100 From: melissagarcia@example.net To: "Lucene Users List" <melissagarcia@example.net> ,melissagarcia@example.net In-Reply-To: <000801c3578e$a75ae3b0$0e9c763e@pb> Subject: RE: NLucene up to date ? Date: Fri, 01 Aug 2003 09:08:59 +0100 User-Agent: Demon-WebMail/2.0 MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <melissagarcia@example.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N No additional classes have been created. The functionality was simply implemented via new properties and method overloading, so original signatures remain intact. As far as supporting future versions, I cannot say as I will no longer be using melissagarcia@example.net. Keeping the c# version in line with java would have to be done in my own time, so no guarantees. Taking the 1.2b2 source I only brought in the fixes, enhancements, etc that affected how I was using Lucene. I keep up with the nightly builds on a regular basis and update the c# source where appropriate, so any bugs should have been rectified. Brendon melissagarcia@example.net wrote: > Hi, > > > From: melissagarcia@example.net > > > I (we) have just successfully released a search engine using > > a c# implmentation of Lucene. Code had to be brought up to > > date in line with recent java builds, and enhanced with > > additional features (eg field sorting, term position score > > factoring, etc). > > Is it hard-code additional or new classes? > Are you going to support new versions of lucene? > > Pasha > > P.s nLucene is lucene 1.2 based with old bugs and not supported. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: melissagarcia@example.net > For additional commands, e-mail: melissagarcia@example.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net From lucene-user-melissagarcia@example.net Fri Aug 01 08:57:53 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 59170 invoked from network); 1 Aug 2003 08:57:52 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 08:57:52 -0000 Received: (qmail 177 invoked by uid 97); 1 Aug 2003 09:00:40 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 168 invoked from network); 1 Aug 2003 09:00:40 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Aug 2003 09:00:40 -0000 Received: (qmail 58916 invoked by uid 500); 1 Aug 2003 08:57:49 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 58904 invoked from network); 1 Aug 2003 08:57:49 -0000 Received: from unknown (HELO renr.es) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 08:57:49 -0000 Received: (qmail 14150 invoked by uid 64014); 1 Aug 2003 08:58:22 -0000 Received: from melissagarcia@example.net by correo with qmail-scanner-1.01 (. Clean. Processed in 0.087215 secs); 01 Aug 2003 08:58:22 -0000 Received: from unknown (HELO JGaliana) (melissagarcia@example.net@[83.161.120.155]) (envelope-sender <melissagarcia@example.net>) by correo.renr.es (qmail-ldap-1.03) with SMTP for <melissagarcia@example.net>; 1 Aug 2003 08:58:21 -0000 From: "Jose Galiana" <melissagarcia@example.net> To: "Lucene Users List" <melissagarcia@example.net> Subject: RE: Searching while optimizing Date: Fri, 1 Aug 2003 10:58:31 +0200 Message-ID: <melissagarcia@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Importance: Normal In-Reply-To: <D15E9D991E0FD41184C90080C80D2746B49C0A@MUSCOVITE> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ok, would be possible the next scenary? 1. We run an IndeWriter and several IndexSearch runs in parallel. IndexWriter is open all time. There are two contexts in Tomcat, one to Index and the other to search and administrative works. 2. The context "search" creates an IndexSearch 3. At the same time arrives a document to be indexed. 4. the context "indexer" uses the IndexWriter to add the document, and it needs to do a merge and creates and deletes segments. 5. When IndexSearch is goint be used the files are changed, and don´t found it. It´s possible? Jose galiana -----Mensaje original----- De: Steve Rajavuori [mailto:melissagarcia@example.net] Enviado el: jueves, 31 de julio de 2003 21:57 Para: 'Lucene Users List' Asunto: RE: Searching while optimizing This seems to contradict an item from the Lucene FAQ: << 41. Can I modify the index while performing ongoing searches ? Yes and no. At the time of writing this FAQ (June 2001), Lucene is not thread safe in this regard. Here is a quote from Doug Cutting, the creator of Lucene: The problems are only when you add documents or optimize an index, and then search with an IndexReader that was constructed before those changes to the index were made. A possible work around is to perform the index updates in a parable and separate index and switch to the new index when its updating is done. The switching may be done for example, using a variable that will points to the directory of the current active index. Since searches have a relatively short life time, you may discard (or resue the old index) short time after performing the switch (this grace period should be a little longer if you want to let all searches that involved paging through the hit list to be completed with consistent results). >> Can you explain further? -----Original Message----- From: Doug Cutting [mailto:melissagarcia@example.net] Sent: Thursday, July 31, 2003 2:31 PM To: Lucene Users List Subject: Re: Searching while optimizing Aviran Mordo wrote: > Is it possible and safe to search an index while another thread adds > documents or optimizes the same index? Yes. --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net From lucene-user-melissagarcia@example.net Fri Aug 01 18:30:45 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 61202 invoked from network); 1 Aug 2003 18:30:45 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 18:30:45 -0000 Received: (qmail 17529 invoked by uid 97); 1 Aug 2003 18:33:25 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 17522 invoked from network); 1 Aug 2003 18:33:24 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Aug 2003 18:33:24 -0000 Received: (qmail 60942 invoked by uid 500); 1 Aug 2003 18:30:42 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 60928 invoked from network); 1 Aug 2003 18:30:42 -0000 Received: from otto.abtassoc.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 18:30:42 -0000 Received: from camdom1.cam.abtassoc.com (talisker.abtassoc.com [83.161.120.155]) by otto.abtassoc.com (8.11.6/8.11.6) with ESMTP id h71IPCJ22408 for <melissagarcia@example.net>; Fri, 1 Aug 2003 14:25:12 -0400 Subject: javacc problem + path/link problem in html demo To: melissagarcia@example.net X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 Message-ID: <melissagarcia@example.net> From: melissagarcia@example.net Date: Fri, 1 Aug 2003 14:30:41 -0400 X-MIMETrack: Serialize by Router on camdom1/Servers/Abtassoc(Release 5.0.11 |July 24, 2002) at 08/01/2003 02:30:44 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I get the error, when I run ant, that it won't build. why am I building? when I run the web demo, all the links are formed with luceneweb/ preceding them (the links are incorrect): and the links come out as: http://localhost:8080/luceneweb/examples/foo.jsp when it should be: http://localhost:8080/examples/foo.jsp and I'm using tomcat, btw. I hunted down the line that gets the path in HTMLDocument (in the demo), and added some scaffolding to see what it says the link is; and so I wanted to recompile it (the thought is, that I could do a substring on the path, if is indeed adding luceneweb/ as part of all the paths). (it's a bit of a hack, but if it would work....) anyways, I downloaded javacc and am trying to build, with no avail. I've read through the newsgroup archives, read the help files, and looked on the net...so here I am emailing the group thanks so much. some more detail: ant can't find javacc - (also, it wants javacc.zip; but the javacc distrib. I got only comes with javacc.jar) from my default.properties file (I added this myself): # Home directory of JavaCC javacc.home = c:/Java tools/javacc-3.1/ javacc.zip.dir = ${javacc.home}/bin/lib javacc.zip = ${javacc.zip.dir}/javacc.jar (the above snippet seems to do no good :( -Jill --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net From lucene-user-melissagarcia@example.net Fri Aug 01 18:33:54 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 72006 invoked from network); 1 Aug 2003 18:33:53 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 18:33:53 -0000 Received: (qmail 17674 invoked by uid 97); 1 Aug 2003 18:36:29 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 17667 invoked from network); 1 Aug 2003 18:36:29 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Aug 2003 18:36:29 -0000 Received: (qmail 71483 invoked by uid 500); 1 Aug 2003 18:33:47 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 71464 invoked from network); 1 Aug 2003 18:33:46 -0000 Received: from elk.zenon.net (HELO frontend3.aha.ru) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 18:33:46 -0000 Received: from [83.161.120.155] (account melissagarcia@example.net HELO pb) by frontend3.aha.ru (CommuniGate Pro SMTP 4.0.6) with ESMTP id 18772917 for melissagarcia@example.net; Fri, 01 Aug 2003 22:33:43 +0400 Reply-To: <melissagarcia@example.net> From: "Pasha Bizhan" <melissagarcia@example.net> To: "'Lucene Users List'" <melissagarcia@example.net> Subject: RE: Error: "Docs out of order" - why? Date: Fri, 1 Aug 2003 22:34:16 +0400 Message-ID: <000401c3585b$906dd090$b29c763e@pb> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <000501c3577f$2d665490$0e9c763e@pb> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, > I index my documents, then call writer.optimize and receive > this exception. What the reason for it? My be the Reason is: WhitespaceTokenizer + a lot of multilanguage texts with garbage and digits. The example of garbage is: "Lu?y cla ims to. I do#'t kn?w abo ut Nlucen e, b ut it sh ould. An ypor t". I don't know why but the code with StopAnalyzer work correct. Pasha --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net From lucene-user-melissagarcia@example.net Fri Aug 01 18:37:45 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 88203 invoked from network); 1 Aug 2003 18:37:44 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 18:37:44 -0000 Received: (qmail 17829 invoked by uid 97); 1 Aug 2003 18:40:23 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 17822 invoked from network); 1 Aug 2003 18:40:23 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Aug 2003 18:40:23 -0000 Received: (qmail 83596 invoked by uid 500); 1 Aug 2003 18:36:36 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 83572 invoked from network); 1 Aug 2003 18:36:36 -0000 Received: from merc65.na.sas.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 18:36:36 -0000 Received: from merc12.na.sas.com ([83.161.120.155]) by 83.161.120.155 with InterScan Messaging Security Suite; Fri, 01 Aug 2003 14:36:40 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6410.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: javacc problem + path/link problem in html demo Date: Fri, 1 Aug 2003 14:36:39 -0400 Message-ID: <melissagarcia@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: javacc problem + path/link problem in html demo Thread-Index: AcNYWwsRmbPr80i1SmSs1pDwmFkguAAAJAwg From: "Eric Isakson" <melissagarcia@example.net> To: "Lucene Users List" <melissagarcia@example.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N JavaCC 3 is not supported by ant yet... http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3D19468 http://nagoya.apache.org/eyebrowse/ReadMsg?listName=3Dlucene-user@jakarta= .apache.org&msgId=3D763762 http://nagoya.apache.org/eyebrowse/ReadMsg?listName=3Dlucene-user@jakarta= .apache.org&msgId=3D774059 Eric -----Original Message----- From: melissagarcia@example.net [mailto:melissagarcia@example.net]=20 Sent: Friday, August 01, 2003 2:31 PM To: melissagarcia@example.net Subject: javacc problem + path/link problem in html demo I get the error, when I run ant, that it won't build. why am I building? when I run the web demo, all the links are formed = with luceneweb/ preceding them (the links are incorrect): and the links come out as: http://localhost:8080/luceneweb/examples/foo.jsp when it should be: http://localhost:8080/examples/foo.jsp and I'm using tomcat, btw. I hunted down the line that gets the path in HTMLDocument (in the demo), = and added some scaffolding to see what it says the link is; and so I = wanted to recompile it (the thought is, that I could do a substring on = the path, if is indeed adding luceneweb/ as part of all the paths). = (it's a bit of a hack, but if it would work....) anyways, I downloaded javacc and am trying to build, with no avail. = I've read through the newsgroup archives, read the help files, and = looked on the net...so here I am emailing the group thanks so much. some more detail: ant can't find javacc - (also, it wants javacc.zip; but the javacc = distrib. I got only comes with javacc.jar) from my default.properties file (I added this myself): # Home directory of JavaCC javacc.home =3D c:/Java tools/javacc-3.1/ javacc.zip.dir =3D ${javacc.home}/bin/lib javacc.zip =3D ${javacc.zip.dir}/javacc.jar (the above snippet seems to do no good :( -Jill --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net From lucene-user-melissagarcia@example.net Fri Aug 01 18:40:21 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 95801 invoked from network); 1 Aug 2003 18:40:20 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 18:40:20 -0000 Received: (qmail 17886 invoked by uid 97); 1 Aug 2003 18:42:59 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 17879 invoked from network); 1 Aug 2003 18:42:59 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Aug 2003 18:42:59 -0000 Received: (qmail 95551 invoked by uid 500); 1 Aug 2003 18:40:17 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 95483 invoked from network); 1 Aug 2003 18:40:16 -0000 Received: from otto.abtassoc.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 18:40:16 -0000 Received: from camdom1.cam.abtassoc.com (talisker.abtassoc.com [83.161.120.155]) by otto.abtassoc.com (8.11.6/8.11.6) with ESMTP id h71IYjJ23530 for <melissagarcia@example.net>; Fri, 1 Aug 2003 14:34:45 -0400 Subject: RE: javacc problem + path/link problem in html demo To: "Lucene Users List" <melissagarcia@example.net> X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 Message-ID: <melissagarcia@example.net> From: melissagarcia@example.net Date: Fri, 1 Aug 2003 14:40:15 -0400 X-MIMETrack: Serialize by Router on camdom1/Servers/Abtassoc(Release 5.0.11 |July 24, 2002) at 08/01/2003 02:40:17 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I saw that bug, but tried it anyways...... but since the bug is still active, do you know where I can an earlier copy of javacc? (and which version, exactly, that I need?) thanks -Jill --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net From lucene-user-melissagarcia@example.net Fri Aug 01 18:48:08 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 11600 invoked from network); 1 Aug 2003 18:48:07 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 18:48:07 -0000 Received: (qmail 18094 invoked by uid 97); 1 Aug 2003 18:50:47 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 18087 invoked from network); 1 Aug 2003 18:50:47 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Aug 2003 18:50:47 -0000 Received: (qmail 9129 invoked by uid 500); 1 Aug 2003 18:47:32 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 9096 invoked from network); 1 Aug 2003 18:47:31 -0000 Received: from merc64.na.sas.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 18:47:31 -0000 Received: from merc12.na.sas.com ([83.161.120.155]) by 83.161.120.155 with InterScan Messaging Security Suite; Fri, 01 Aug 2003 14:47:35 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6410.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: javacc problem + path/link problem in html demo Date: Fri, 1 Aug 2003 14:47:34 -0400 Message-ID: <melissagarcia@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: javacc problem + path/link problem in html demo Thread-Index: AcNYXGE/CxSoTaZ+S5KHHjW7697ergAAMcdQ From: "Eric Isakson" <melissagarcia@example.net> To: "Lucene Users List" <melissagarcia@example.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N JavaCC 2 is no longer available. You will have to upgrade or dig for it = (i.e. you and whomever you get it from would be violating the license = agreement). Eric -----Original Message----- From: melissagarcia@example.net [mailto:melissagarcia@example.net]=20 Sent: Friday, August 01, 2003 2:40 PM To: Lucene Users List Subject: RE: javacc problem + path/link problem in html demo I saw that bug, but tried it anyways...... but since the bug is still active, do you know where I can an earlier = copy of javacc? (and which version, exactly, that I need?) thanks -Jill --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net From lucene-user-melissagarcia@example.net Fri Aug 01 18:50:05 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 16698 invoked from network); 1 Aug 2003 18:50:05 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 18:50:05 -0000 Received: (qmail 18183 invoked by uid 97); 1 Aug 2003 18:52:44 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 18175 invoked from network); 1 Aug 2003 18:52:44 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Aug 2003 18:52:44 -0000 Received: (qmail 16412 invoked by uid 500); 1 Aug 2003 18:50:00 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 16400 invoked from network); 1 Aug 2003 18:50:00 -0000 Received: from nat.ladro.com (HELO ladro.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 18:50:00 -0000 Received: (qmail 72739 invoked by uid 500); 1 Aug 2003 18:50:26 -0000 Date: Fri, 1 Aug 2003 11:50:26 -0700 From: Chris Wilkes <melissagarcia@example.net> To: melissagarcia@example.net Subject: Re: javacc problem + path/link problem in html demo Message-ID: <melissagarcia@example.net> References: <melissagarcia@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <melissagarcia@example.net> User-Agent: Mutt/1.4.1i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, Aug 01, 2003 at 02:36:39PM -0400, Eric Isakson wrote: > JavaCC 3 is not supported by ant yet... > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19468 > http://melissagarcia@example.net&msgId=763762 > http://melissagarcia@example.net&msgId=774059 Another Eric, Erik Hatcher is active in both Ant and Lucene (as I found out in a nofluffjuststuff.com talk) scene. So hopefully good things will come about. http://www.ehatchersolutions.com/servlets/blogscene Chris --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net From lucene-user-melissagarcia@example.net Fri Aug 01 20:43:53 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 59780 invoked from network); 1 Aug 2003 20:43:53 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 20:43:53 -0000 Received: (qmail 21164 invoked by uid 97); 1 Aug 2003 20:46:33 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 21157 invoked from network); 1 Aug 2003 20:46:33 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Aug 2003 20:46:33 -0000 Received: (qmail 59076 invoked by uid 500); 1 Aug 2003 20:43:44 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 59063 invoked from network); 1 Aug 2003 20:43:44 -0000 Received: from mail11.atl.registeredsite.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 20:43:44 -0000 Received: from netmail.mail.registeredsite.com ([83.161.120.155]) by mail11.atl.registeredsite.com (8.12.9/8.12.9) with ESMTP id h71Khm65028771 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for <melissagarcia@example.net>; Fri, 1 Aug 2003 16:43:49 -0400 Received: (qmail 50304 invoked by uid 89); 1 Aug 2003 20:46:01 -0000 Received: from unknown (HELO ehatchersolutions.com) (83.161.120.155) by mail.congovision.com with SMTP; 1 Aug 2003 20:46:01 -0000 Date: Fri, 1 Aug 2003 16:43:55 -0400 Subject: Re: javacc problem + path/link problem in html demo Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Erik Hatcher <melissagarcia@example.net> To: "Lucene Users List" <melissagarcia@example.net> Content-Transfer-Encoding: 7bit In-Reply-To: <melissagarcia@example.net> Message-Id: <melissagarcia@example.net> X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Friday, August 1, 2003, at 02:50 PM, Chris Wilkes wrote: > On Fri, Aug 01, 2003 at 02:36:39PM -0400, Eric Isakson wrote: >> JavaCC 3 is not supported by ant yet... >> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19468 >> http://nagoya.apache.org/eyebrowse/ReadMsg?listName=lucene- >> melissagarcia@example.net&msgId=763762 >> http://nagoya.apache.org/eyebrowse/ReadMsg?listName=lucene- >> melissagarcia@example.net&msgId=774059 > > Another Eric, Erik Hatcher is active in both Ant and Lucene (as I found > out in a nofluffjuststuff.com talk) scene. So hopefully good things > will come about. Hi Chris! Yeah, I'll (eventually) have a look at the Lucene build process and see if I can fix any issues with JavaCC and such. No promises on when, but soon I hope. > http://www.ehatchersolutions.com/servlets/blogscene Change that to: http://www.blogscene.org/erik/ --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net From lucene-user-melissagarcia@example.net Sat Aug 02 03:24:29 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 45054 invoked from network); 2 Aug 2003 03:24:28 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Aug 2003 03:24:28 -0000 Received: (qmail 28154 invoked by uid 97); 2 Aug 2003 03:27:10 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 28146 invoked from network); 2 Aug 2003 03:27:10 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 2 Aug 2003 03:27:10 -0000 Received: (qmail 44403 invoked by uid 500); 2 Aug 2003 03:24:22 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 44391 invoked from network); 2 Aug 2003 03:24:22 -0000 Received: from web11503.mail.yahoo.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Aug 2003 03:24:22 -0000 Message-ID: <melissagarcia@example.net> Received: from [83.161.120.155] by web11503.mail.yahoo.com via HTTP; Fri, 01 Aug 2003 20:24:32 PDT Date: Fri, 1 Aug 2003 20:24:32 -0700 (PDT) From: M P <melissagarcia@example.net> Subject: Problem in getting hits To: melissagarcia@example.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello all, I'm not getting hits for queries that I think should return hits. Description: I have created index with document having terms "body" & "title" using StandardAnalyzer. Term "body" is added to document as Field.Text("body", <text>) and Term title is added as Field.Keyword("title", <title>). I added a document with body have some 300 words and title with 2 words. Next, I searched the index with exactly same body that I indexed and Lucene returns zero hits. I constructed query using following different ways: 1. QueryParser.parse("body", <body-text>, StandardAnalyzer); 2. Using PhraseQuery: TokenStream tokenizer = StandardAnalyzer.tokenStream(key, new java.io.StringReader(<body-text>)); Token token; PhraseQuery pq = new PhraseQuery(); while ((token = tokenizer.next()) != null) pq.add(new Term("body", token.termText())); pq.setSlop(50); My understanding is that Lucene should return this document as hit. Please let me know where I'm doing wrong. However, search on the title returns correct hit. Any help on this would be really appreciated. Thanks, MP __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net From lucene-user-melissagarcia@example.net Sat Aug 02 05:35:46 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 699 invoked from network); 2 Aug 2003 05:35:46 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Aug 2003 05:35:46 -0000 Received: (qmail 29243 invoked by uid 97); 2 Aug 2003 05:38:32 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 29230 invoked from network); 2 Aug 2003 05:38:31 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 2 Aug 2003 05:38:31 -0000 Received: (qmail 99906 invoked by uid 500); 2 Aug 2003 05:35:38 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 99891 invoked from network); 2 Aug 2003 05:35:37 -0000 Received: from unknown (HELO levi.com) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Aug 2003 05:35:37 -0000 Received: from ([83.161.120.155]) by sfoexironmail.levi.com with ESMTP ; Fri, 01 Aug 2003 22:34:54 -0700 (PDT) Received: by SFOEXIMS with Internet Mail Service (5.5.2656.59) id <QCLZ85RV>; Fri, 1 Aug 2003 22:35:15 -0700 Message-ID: <melissagarcia@example.net> From: melissagarcia@example.net To: melissagarcia@example.net Subject: RE: Problem in getting hits Date: Fri, 1 Aug 2003 22:35:16 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi M P, Try this: InputStream is = new FileInputStream(filename); where filename is the file to index. ---- --- --- doc.add(Field.Text("body", (Reader) new InputStreamReader(is))); Michel -----Original Message----- From: M P [mailto:melissagarcia@example.net] Sent: Saturday, August 02, 2003 5:25 AM To: melissagarcia@example.net Subject: Problem in getting hits Hello all, I'm not getting hits for queries that I think should return hits. Description: I have created index with document having terms "body" & "title" using StandardAnalyzer. Term "body" is added to document as Field.Text("body", <text>) and Term title is added as Field.Keyword("title", <title>). I added a document with body have some 300 words and title with 2 words. Next, I searched the index with exactly same body that I indexed and Lucene returns zero hits. I constructed query using following different ways: 1. QueryParser.parse("body", <body-text>, StandardAnalyzer); 2. Using PhraseQuery: TokenStream tokenizer = StandardAnalyzer.tokenStream(key, new java.io.StringReader(<body-text>)); Token token; PhraseQuery pq = new PhraseQuery(); while ((token = tokenizer.next()) != null) pq.add(new Term("body", token.termText())); pq.setSlop(50); My understanding is that Lucene should return this document as hit. Please let me know where I'm doing wrong. However, search on the title returns correct hit. Any help on this would be really appreciated. Thanks, MP __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net From lucene-user-melissagarcia@example.net Sat Aug 02 05:54:14 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 9262 invoked from network); 2 Aug 2003 05:54:13 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Aug 2003 05:54:13 -0000 Received: (qmail 29744 invoked by uid 97); 2 Aug 2003 05:57:00 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 29737 invoked from network); 2 Aug 2003 05:56:59 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 2 Aug 2003 05:56:59 -0000 Received: (qmail 8935 invoked by uid 500); 2 Aug 2003 05:54:10 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 8923 invoked from network); 2 Aug 2003 05:54:10 -0000 Received: from web11502.mail.yahoo.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Aug 2003 05:54:10 -0000 Message-ID: <melissagarcia@example.net> Received: from [83.161.120.155] by web11502.mail.yahoo.com via HTTP; Fri, 01 Aug 2003 22:54:22 PDT Date: Fri, 1 Aug 2003 22:54:22 -0700 (PDT) From: M P <melissagarcia@example.net> Subject: RE: Problem in getting hits To: Lucene Users List <melissagarcia@example.net> In-Reply-To: <melissagarcia@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Michel, I re-indexed the document as you mentioned: doc.add(Field.text("body", new java.io.StringReader(<body-text>); But, I'm still getting zero hits. Thanks, MP. --- melissagarcia@example.net wrote: > > > Hi M P, > > Try this: > > InputStream is = new FileInputStream(filename); > where filename is the file > to index. > ---- > --- > --- > doc.add(Field.Text("body", (Reader) new > InputStreamReader(is))); > > > Michel > -----Original Message----- > From: M P [mailto:melissagarcia@example.net] > Sent: Saturday, August 02, 2003 5:25 AM > To: melissagarcia@example.net > Subject: Problem in getting hits > > Hello all, > > I'm not getting hits for queries that I think should > return hits. > > Description: > > I have created index with document having terms > "body" > & "title" using StandardAnalyzer. Term "body" is > added > to document as Field.Text("body", <text>) and Term > title is added as Field.Keyword("title", <title>). > > I added a document with body have some 300 words and > title with 2 words. > > Next, I searched the index with exactly same body > that > I indexed and Lucene returns zero hits. I > constructed > query using following different ways: > > 1. QueryParser.parse("body", <body-text>, > StandardAnalyzer); > > 2. Using PhraseQuery: > > TokenStream tokenizer = > StandardAnalyzer.tokenStream(key, new > java.io.StringReader(<body-text>)); > Token token; > PhraseQuery pq = new PhraseQuery(); > while ((token = tokenizer.next()) != null) > pq.add(new Term("body", token.termText())); > pq.setSlop(50); > > My understanding is that Lucene should return this > document as hit. Please let me know where I'm doing > wrong. > > However, search on the title returns correct hit. > > Any help on this would be really appreciated. > > Thanks, > > MP > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > http://sitebuilder.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > melissagarcia@example.net > For additional commands, e-mail: > melissagarcia@example.net > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > melissagarcia@example.net > For additional commands, e-mail: > melissagarcia@example.net > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net From lucene-user-melissagarcia@example.net Sat Aug 02 07:26:21 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 66048 invoked from network); 2 Aug 2003 07:26:21 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Aug 2003 07:26:21 -0000 Received: (qmail 983 invoked by uid 97); 2 Aug 2003 07:29:08 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 976 invoked from network); 2 Aug 2003 07:29:08 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 2 Aug 2003 07:29:08 -0000 Received: (qmail 65380 invoked by uid 500); 2 Aug 2003 07:26:13 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 65369 invoked from network); 2 Aug 2003 07:26:13 -0000 Received: from unknown (HELO levi.com) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Aug 2003 07:26:13 -0000 Received: from ([83.161.120.155]) by sfoexironmail.levi.com with ESMTP ; Sat, 02 Aug 2003 00:25:43 -0700 (PDT) Received: by SFOEXIMS with Internet Mail Service (5.5.2656.59) id <QCLZ867W>; Sat, 2 Aug 2003 00:26:02 -0700 Message-ID: <melissagarcia@example.net> From: melissagarcia@example.net To: melissagarcia@example.net Subject: RE: Problem in getting hits Date: Sat, 2 Aug 2003 00:26:02 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi M P, Is not StringReader but new InputStreamReader. Try this: public void indexFile(String filename) throws Exception { IndexWriter writer; writer = new IndexWriter(path, new SimpleAnalyzer(), false); InputStream is = new FileInputStream(filename); Document doc = new Document(); doc.add(Field.UndIndexed("path", filename)); doc.add(Field.Text("body", (Reader) new InputStreamReader(is))); writer.addDocument(doc); is.close(); writer.close(); } Good Luck Michel -----Original Message----- From: M P [mailto:melissagarcia@example.net] Sent: Saturday, August 02, 2003 7:54 AM To: Lucene Users List Subject: RE: Problem in getting hits Hi Michel, I re-indexed the document as you mentioned: doc.add(Field.text("body", new java.io.StringReader(<body-text>); But, I'm still getting zero hits. Thanks, MP. --- melissagarcia@example.net wrote: > > > Hi M P, > > Try this: > > InputStream is = new FileInputStream(filename); > where filename is the file > to index. > ---- > --- > --- > doc.add(Field.Text("body", (Reader) new > InputStreamReader(is))); > > > Michel > -----Original Message----- > From: M P [mailto:melissagarcia@example.net] > Sent: Saturday, August 02, 2003 5:25 AM > To: melissagarcia@example.net > Subject: Problem in getting hits > > Hello all, > > I'm not getting hits for queries that I think should > return hits. > > Description: > > I have created index with document having terms > "body" > & "title" using StandardAnalyzer. Term "body" is > added > to document as Field.Text("body", <text>) and Term > title is added as Field.Keyword("title", <title>). > > I added a document with body have some 300 words and > title with 2 words. > > Next, I searched the index with exactly same body > that > I indexed and Lucene returns zero hits. I > constructed > query using following different ways: > > 1. QueryParser.parse("body", <body-text>, > StandardAnalyzer); > > 2. Using PhraseQuery: > > TokenStream tokenizer = > StandardAnalyzer.tokenStream(key, new > java.io.StringReader(<body-text>)); > Token token; > PhraseQuery pq = new PhraseQuery(); > while ((token = tokenizer.next()) != null) > pq.add(new Term("body", token.termText())); > pq.setSlop(50); > > My understanding is that Lucene should return this > document as hit. Please let me know where I'm doing > wrong. > > However, search on the title returns correct hit. > > Any help on this would be really appreciated. > > Thanks, > > MP > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > http://sitebuilder.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > melissagarcia@example.net > For additional commands, e-mail: > melissagarcia@example.net > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > melissagarcia@example.net > For additional commands, e-mail: > melissagarcia@example.net > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net From lucene-user-melissagarcia@example.net Sat Aug 02 16:20:05 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 52354 invoked from network); 2 Aug 2003 16:20:04 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Aug 2003 16:20:04 -0000 Received: (qmail 8884 invoked by uid 97); 2 Aug 2003 16:22:42 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 8877 invoked from network); 2 Aug 2003 16:22:42 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 2 Aug 2003 16:22:42 -0000 Received: (qmail 52062 invoked by uid 500); 2 Aug 2003 16:20:01 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 52049 invoked from network); 2 Aug 2003 16:20:01 -0000 Received: from web11507.mail.yahoo.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Aug 2003 16:20:01 -0000 Message-ID: <melissagarcia@example.net> Received: from [83.161.120.155] by web11507.mail.yahoo.com via HTTP; Sat, 02 Aug 2003 09:20:04 PDT Date: Sat, 2 Aug 2003 09:20:04 -0700 (PDT) From: M P <melissagarcia@example.net> Subject: RE: Problem in getting hits To: Lucene Users List <melissagarcia@example.net> In-Reply-To: <melissagarcia@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I'm still getting no hits with the code that you sent. Thanks, Kishore. --- melissagarcia@example.net wrote: > Hi M P, > Is not StringReader but new InputStreamReader. Try > this: > > public void indexFile(String filename) throws > Exception { > IndexWriter writer; > writer = new IndexWriter(path, new > SimpleAnalyzer(), false); > > InputStream is = new FileInputStream(filename); > Document doc = new Document(); > doc.add(Field.UndIndexed("path", filename)); > doc.add(Field.Text("body", (Reader) new > InputStreamReader(is))); > > writer.addDocument(doc); > is.close(); > writer.close(); > } > > Good Luck > Michel > > -----Original Message----- > From: M P [mailto:melissagarcia@example.net] > Sent: Saturday, August 02, 2003 7:54 AM > To: Lucene Users List > Subject: RE: Problem in getting hits > > Hi Michel, > > I re-indexed the document as you mentioned: > > doc.add(Field.text("body", new > java.io.StringReader(<body-text>); > > But, I'm still getting zero hits. > > Thanks, > MP. > > --- melissagarcia@example.net wrote: > > > > > > Hi M P, > > > > Try this: > > > > InputStream is = new FileInputStream(filename); > > where filename is the file > > to index. > > ---- > > --- > > --- > > doc.add(Field.Text("body", (Reader) new > > InputStreamReader(is))); > > > > > > Michel > > -----Original Message----- > > From: M P [mailto:melissagarcia@example.net] > > Sent: Saturday, August 02, 2003 5:25 AM > > To: melissagarcia@example.net > > Subject: Problem in getting hits > > > > Hello all, > > > > I'm not getting hits for queries that I think > should > > return hits. > > > > Description: > > > > I have created index with document having terms > > "body" > > & "title" using StandardAnalyzer. Term "body" is > > added > > to document as Field.Text("body", <text>) and Term > > title is added as Field.Keyword("title", <title>). > > > > > I added a document with body have some 300 words > and > > title with 2 words. > > > > Next, I searched the index with exactly same body > > that > > I indexed and Lucene returns zero hits. I > > constructed > > query using following different ways: > > > > 1. QueryParser.parse("body", <body-text>, > > StandardAnalyzer); > > > > 2. Using PhraseQuery: > > > > TokenStream tokenizer = > > StandardAnalyzer.tokenStream(key, new > > java.io.StringReader(<body-text>)); > > Token token; > > PhraseQuery pq = new PhraseQuery(); > > while ((token = tokenizer.next()) != null) > > pq.add(new Term("body", token.termText())); > > pq.setSlop(50); > > > > My understanding is that Lucene should return this > > document as hit. Please let me know where I'm > doing > > wrong. > > > > However, search on the title returns correct hit. > > > > Any help on this would be really appreciated. > > > > Thanks, > > > > MP > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free, easy-to-use web site > > design software > > http://sitebuilder.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > melissagarcia@example.net > > For additional commands, e-mail: > > melissagarcia@example.net > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > melissagarcia@example.net > > For additional commands, e-mail: > > melissagarcia@example.net > > > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > http://sitebuilder.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > melissagarcia@example.net > For additional commands, e-mail: > melissagarcia@example.net > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > melissagarcia@example.net > For additional commands, e-mail: > melissagarcia@example.net > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net From lucene-user-melissagarcia@example.net Sun Aug 03 17:19:26 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 31218 invoked from network); 3 Aug 2003 17:19:26 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 3 Aug 2003 17:19:26 -0000 Received: (qmail 12566 invoked by uid 97); 3 Aug 2003 17:22:04 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 12559 invoked from network); 3 Aug 2003 17:22:03 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 3 Aug 2003 17:22:03 -0000 Received: (qmail 30661 invoked by uid 500); 3 Aug 2003 17:19:20 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 30648 invoked from network); 3 Aug 2003 17:19:20 -0000 Received: from mailhub-4.iastate.edu (83.161.120.155) by daedalus.apache.org with SMTP; 3 Aug 2003 17:19:20 -0000 Received: from mailout-2.iastate.edu (mailout-2.iastate.edu [83.161.120.155]) by mailhub-4.iastate.edu (8.9.3p2/8.9.3) with SMTP id MAA17274 for <melissagarcia@example.net>; Sun, 3 Aug 2003 12:19:21 -0500 Received: from 12-216-62-95.client.mchsi.com(83.161.120.155) by mailout-2.iastate.edu via csmap id 19195; Sun, 03 Aug 2003 12:21:25 -0500 (CDT) Message-ID: <005101c359e3$b83e3a40$0201a8c0@bonghit> From: "Brian Mila" <melissagarcia@example.net> To: "Lucene Users List" <melissagarcia@example.net> References: <melissagarcia@example.net> Subject: Re: NLucene up to date ? Date: Sun, 3 Aug 2003 12:21:47 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I talked to one of the maintainers of NLucene and he said that he was planning on releasing a 1.2 version (not beta apparently) in two months. That was back in June and I haven't heard or seen anything since then so I cant really say if it is still being actively developed. Sounds like you are doing the same thing I am doing which is adding functionality that you need on your own. I've also added a few things to NLucene like multifield queries and the default boolean operator setting. Brian > Hi all, > > http://sourceforge.net/projects/nlucene/ has a version numbered 1.2b2. > Does anyone know if this source is still being maintained to be closer to the java developments ? > Was this an external project to Apache Jakarta ? > > I (we) have just successfully released a search engine using a c# implmentation of Lucene. Code had to be brought up to date in line with recent java builds, and enhanced with additional features (eg field sorting, term position score factoring, etc). > > Any other c# users who would like to see NLucene kept in line with the java version ? > > Maybe I'm just being lazy with having to maintain my own version of Lucene =). > Surely there are others out there who are c# users and follow the mailing lists (I remember a Brian somewhere !) but seldom post. > > Brendon > --------------------------------------------------------------------- To unsubscribe, e-mail: melissagarcia@example.net For additional commands, e-mail: melissagarcia@example.net From lucene-user-melissagarcia@example.net Sun Aug 03 18:12:37 2003 Return-Path: <lucene-user-melissagarcia@example.net> Delivered-To: melissagarcia@example.net Received: (qmail 64143 invoked from network); 3 Aug 2003 18:12:37 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 3 Aug 2003 18:12:37 -0000 Received: (qmail 13764 invoked by uid 97); 3 Aug 2003 18:15:18 -0000 Delivered-To: melissagarcia@example.net Received: (qmail 13757 invoked from network); 3 Aug 2003 18:15:17 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 3 Aug 2003 18:15:17 -0000 Received: (qmail 63867 invoked by uid 500); 3 Aug 2003 18:12:34 -0000 Mailing-List: contact melissagarcia@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:melissagarcia@example.net> List-Subscribe: <mailto:melissagarcia@example.net> List-Help: <mailto:melissagarcia@example.net> List-Post: <mailto:melissagarcia@example.net> List-Id: "Lucene Users List" <lucene-user.jakarta.apache.org> Reply-To: "Lucene Users List" <melissagarcia@example.net> Delivered-To: mailing list melissagarcia@example.net Received: (qmail 63856 invoked from network); 3 Aug 2003 18:12:33 -0000 Received: from web11506.mail.yahoo.com (83.161.120.155) by daedalus.apache.org with SMTP; 3 Aug 2003 18:12:33 -0000 Message-ID: <melissagarcia@example.net> Received: from [83.161.120.155] by web11506.mail.yahoo.com via HTTP; Sun, 03 Aug 2003 11:12:38 PDT Date: Sun, 3 Aug 2003 11:12:38 -0700 (PDT) From: M P <melissagarcia@example.net> Subject: RE: Problem in getting hits To: Lucene Users List <melissagarcia@example.net> In-Reply-To: <melissagarcia@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I would really appreciate if anyone could please send me a sample code on how to query using QueryParser and PhraseQuery for documents with two fields "title" & "body" indexed as Field.Keyword & Field.Text respectively. Thanks, Kishore. --- M P <melissagarcia@example.net> wrote: > Hi, > > I'm still getting no hits with the code that you > sent. > > Thanks, > > Kishore. > > --- melissagarcia@example.net wrote: > > Hi M P, > > Is not StringReader but new InputStreamReader. Try > > this: > > > > public void indexFile(String filename) throws > > Exception { > > IndexWriter writer; > > writer = new IndexWriter(path, new > > SimpleAnalyzer(), false); > > > > InputStream is = new FileInputStream(filename); > > Document doc = new Document(); > > doc.add(Field.UndIndexed("path", filename)); > > doc.add(Field.Text("body", (Reader) new > > InputStreamReader(is))); > > > > writer.addDocument(doc); > > is.close(); > > writer.close(); > > } > > > > Good Luck > > Michel > > > > -----Original Message----- > > From: M P [mailto:melissagarcia@example.net] > > Sent: Saturday, August 02, 2003 7:54 AM > > To: Lucene Users List > > Subject: RE: Problem in getting hits > > > > Hi Michel, > > > > I re-indexed the document as you mentioned: > > > > doc.add(Field.text("body", new > > java.io.StringReader(<body-text>); > > > > But, I'm still getting zero hits. > > > > Thanks, > > MP. > > > > --- melissagarcia@example.net wrote: > > > > > > > > > Hi M P, > > > > > > Try this: > > > > > > InputStream is = new FileInputStream(filename); > > > where filename is the file > > > to index. > > > ---- > > > --- > > > --- > > > doc.add(Field.Text("body", (Reader) new > > > InputStreamReader(is))); > > > > > > > > > Michel > > > -----Original Message----- > > > From: M P [mailto:melissagarcia@example.net] > > > Sent: Saturday, August 02, 2003 5:25 AM > > > To: melissagarcia@example.net > > > Subject: Problem in getting hits > > > > > > Hello all, > > > > > > I'm not getting hits for queries that I think > > should > > > return hits. > > > > > > Description: > > > > > > I have created index with document having terms > > > "body" > > > & "title" using StandardAnalyzer. Term "body" is > > > added > > > to document as Field.Text("body", <text>) and > Term > > > title is added as Field.Keyword("title", > <title>). > > > > > > > > I added a document with body have some 300 words > > and > > > title with 2 words. > > > > > > Next, I searched the index with exactly same > body > > > that > > > I indexed and Lucene returns zero hits. I > > > constructed > > > query using following different ways: > > > > > > 1. QueryParser.parse("body", <body-text>, > > > StandardAnalyzer); > > > > > > 2. Using PhraseQuery: > > > > > > TokenStream tokenizer = > > > StandardAnalyzer.tokenStream(key, new > > > java.io.StringReader(<body-text>)); > > > Token token;
{'source': 'Apache Software Foundation Public Mail Archives'}