Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 55748 invoked from network); 20 Mar 2006 09:10:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Mar 2006 09:10:15 -0000 Received: (qmail 21679 invoked by uid 500); 20 Mar 2006 09:10:00 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 21556 invoked by uid 500); 20 Mar 2006 09:09:59 -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 21515 invoked by uid 99); 20 Mar 2006 09:09:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2006 01:09:59 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of cwho.work@gmail.com designates 64.233.162.205 as permitted sender) Received: from [64.233.162.205] (HELO zproxy.gmail.com) (64.233.162.205) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2006 01:09:58 -0800 Received: by zproxy.gmail.com with SMTP id 40so1118821nzk for ; Mon, 20 Mar 2006 01:09:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=E4E1mf2nz5c1HXgPPyUaeVSEVGnJoTkUu3u1hb9YIBkDT5lUMgqUEGL1qOLyItKs/m8XpJShhIgsLwgKR6ojCHC/rC3bqZVo2zq3tGgwgfr8LC2iw9NS3y2GEaRkXjKj6fVeZdpWux7XgGNnufm5KR31A791uOUBOlJ+lWPbtEQ= Received: by 10.37.22.66 with SMTP id z66mr940439nzi; Mon, 20 Mar 2006 01:09:38 -0800 (PST) Received: by 10.36.113.16 with HTTP; Mon, 20 Mar 2006 01:09:38 -0800 (PST) Message-ID: <6c33f9950603200109h2f4f9aa4yb0b6f77576d5b5c@mail.gmail.com> Date: Mon, 20 Mar 2006 17:09:38 +0800 From: "Chun Wei Ho" To: java-user@lucene.apache.org Subject: Simpler QueryParser MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I am wondering if anyone has existing code for a simpler QueryParser - one that does not create the more complex prefix/fuzzy/range queries, but still allow the usual term/boolean queries. I use QueryParser to directly parse user input (allowing for more flexible specification of include/exclude and fields conditions), but do not want them to use the more resource intensive queries. Just checking since QueryParser is done in javacc which I have little experience in to rewrite or subclass. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org