Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 87100 invoked from network); 26 Sep 2002 13:16:30 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 26 Sep 2002 13:16:30 -0000 Received: (qmail 23625 invoked by uid 97); 26 Sep 2002 13:16:41 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 23155 invoked by uid 97); 26 Sep 2002 13:16:37 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 22854 invoked by uid 98); 26 Sep 2002 13:16:30 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Reply-To: From: "Alex Murzaku" To: "'Lucene Users List'" Subject: RE: Problems with exact matces on non-tokenized fields... Date: Thu, 26 Sep 2002 09:15:38 -0400 Organization: LISSUS llc Message-ID: <000001c2655e$cf8c12f0$1401000a@Lissus> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal In-Reply-To: <85FFAC42-D14A-11D6-A33A-000393C0F638@gan.no> 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 sorry about that - it was early in the morning... my guess is that the analyzer you are passing to queryparser lowercases "POST" but doesn't "POST*" or "POST?". could you try seeing the values of your query when it is going to the searcher? -----Original Message----- From: karl =F8ie [mailto:karl@gan.no]=20 Sent: Thursday, September 26, 2002 8:22 AM To: Lucene Users List Subject: Re: Problems with exact matces on non-tokenized fields... Hm.. a misunderstanding: i don't create the field with the value=20 "POST?" i create it with "POST". "element:POST?" or "element:POST*" are=20 the strings i send to the QueryParser for searching. mvh Karl =D8ie On torsdag, sep 26, 2002, at 14:13 Europe/Oslo, Alex Murzaku wrote: > But indeed "POST" does not match to "POST?". If you are not tokenizing > the field, the character "?" remains there together with everything=20 > else. > > -----Original Message----- > From: karl =F8ie [mailto:karl@gan.no] > Sent: Thursday, September 26, 2002 7:50 AM > To: Lucene Users List > Subject: Problems with exact matces on non-tokenized fields... > > > Hi, i have a problem with getting a exact match on a non-tokenized=20 > field. > > I have a Lucene Document with a field named "element" which is stored=20 > and indexed but not tokenized. The value of the field is "POST"=20 > (uppercase). But the only way i can match the field is by entering=20 > "element:POST?" or "element:POST*" in the QueryParser class. > > Have anyone here run into this problem? > > I am using the 1.2 release version of Lucene. > > Mvh Karl =D8ie > > > -- > To unsubscribe, e-mail:=20 > > For additional commands, e-mail:=20 > > > > -- > To unsubscribe, e-mail: =20 > > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: