Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 54146 invoked from network); 22 Nov 2006 00:30:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Nov 2006 00:30:25 -0000 Received: (qmail 89885 invoked by uid 500); 22 Nov 2006 00:30:26 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 89862 invoked by uid 500); 22 Nov 2006 00:30:26 -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 89851 invoked by uid 99); 22 Nov 2006 00:30:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Nov 2006 16:30:26 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [169.229.70.167] (HELO rescomp.berkeley.edu) (169.229.70.167) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Nov 2006 16:30:13 -0800 Received: by rescomp.berkeley.edu (Postfix, from userid 1007) id 3732B5B77A; Tue, 21 Nov 2006 16:29:38 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by rescomp.berkeley.edu (Postfix) with ESMTP id 2B4AD7F403 for ; Tue, 21 Nov 2006 16:29:38 -0800 (PST) Date: Tue, 21 Nov 2006 16:29:38 -0800 (PST) From: Chris Hostetter To: java-user@lucene.apache.org Subject: Re: Limiting QueryParser In-Reply-To: <45637D01.7080000@teamware.com> Message-ID: References: <45637D01.7080000@teamware.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org : important:conference agenda : I want to end up with : : +subject:important +subject:conference +subject:agenda : : I've written something to do this, but I know it is not as clever as QP as : currently it can only create BooleanQueries with TermQueries and cannot handle : PhraseQuery, so would not handle : : important:"conference agenda" you're on a slippery slope .. basically what you are ssaying is you want ":" to be treated as a field seperater *some* ofthe time, and as a whitespace hcaracter the rest of the time ... but it's not really clear if the rules you want to use are deterministic -- can you describe what you want to do to an *arbitrary* input string? -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org