Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 17916 invoked from network); 26 Jul 2005 17:32:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Jul 2005 17:32:49 -0000 Received: (qmail 3416 invoked by uid 500); 26 Jul 2005 17:32:23 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 3373 invoked by uid 500); 26 Jul 2005 17:32:23 -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 3327 invoked by uid 99); 26 Jul 2005 17:32:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2005 10:32:23 -0700 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=SPF_HELO_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [64.78.21.10] (HELO mis011.exch011.intermedia.net) (64.78.21.10) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2005 10:32:15 -0700 Received: from ehost011-1.exch011.intermedia.net ([64.78.21.3]) by mis011.exch011.intermedia.net with Microsoft SMTPSVC(6.0.3790.1830); Tue, 26 Jul 2005 10:32:20 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.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: Analyzer or QueryParser problem? Date: Tue, 26 Jul 2005 10:32:19 -0700 Message-ID: <41EE526EC2D3C74286415780D3BA9F870D199B14@ehost011-1.exch011.intermedia.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Analyzer or QueryParser problem? Thread-Index: AcWSBujHyLvFRT5qT5++6Pfq22ZxcAAAlpIQ From: "Derek Westfall" To: X-OriginalArrivalTime: 26 Jul 2005 17:32:20.0208 (UTC) FILETIME=[F9BA2700:01C59207] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N D'OH! That was it!=20 -----Original Message----- From: Zhang, Lisheng [mailto:Lisheng.Zhang@broadvision.com]=20 Sent: Tuesday, July 26, 2005 10:25 AM To: java-user@lucene.apache.org Subject: RE: Analyzer or QueryParser problem? Hi Derek, My guessing is that ":" is special, QueryParser may regard ":" as for qualifying a field, we may need to escape this special symbol as: "GM\:Systems" as query string. Regards, Lisheng -----Original Message----- From: Otis Gospodnetic [mailto:otis_gospodnetic@yahoo.com] Sent: Tuesday, July 26, 2005 9:11 AM To: java-user@lucene.apache.org Subject: Re: Analyzer or QueryParser problem? You can use Luke to see what got indexed. This will tell you what the Analyzer did. You can then use QueryParser from the command line (it's got a main method), give it your input, and see what it returns. This will tell you what QueryParser+Analyzer did. Oh, you use MFQP. It may have a main method, too, I'd have to check... To simplify, try getting it working with the regular QueryParser first. Otis --- Derek Westfall wrote: > I am working on a business directory app. >=20 > As you would expect, some companies have unusual names. >=20 > My first problem is the company with title: "GM:Systems" >=20 > I indexed the title field as a text field with the English=20 > standardAnalyzer. Searching on "GM Systems" will turn it up, but=20 > searching on "GM:Systems" or "GMSystems" will not. Since I'm using the > same analyzer for indexing and for searching, on the same text,=20 > shouldn't it turn up? I'm searching using the MultiFieldQueryParser. >=20 > Any input appreciated, as always. :) >=20 > Derek >=20 > --------------------------------------------------------------------- > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org