Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 48616 invoked from network); 13 Apr 2003 07:14:45 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 13 Apr 2003 07:14:45 -0000 Received: (qmail 27764 invoked by uid 97); 13 Apr 2003 07:16:50 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@nagoya.betaversion.org Received: (qmail 27757 invoked from network); 13 Apr 2003 07:16:49 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 13 Apr 2003 07:16:49 -0000 Received: (qmail 48222 invoked by uid 500); 13 Apr 2003 07:14:42 -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 48210 invoked from network); 13 Apr 2003 07:14:41 -0000 Received: from 251.017.dsl.syd.iprimus.net.au (HELO file1.syd.nuix.com.au) (210.50.55.251) by daedalus.apache.org with SMTP; 13 Apr 2003 07:14:41 -0000 Received: from host86.syd.nuix.com.au (host86.syd.nuix.com.au [192.168.222.86]) by file1.syd.nuix.com.au (Postfix) with ESMTP id B0F1B10683A for ; Sun, 13 Apr 2003 17:17:52 +1000 (EST) Content-Type: text/plain; charset="us-ascii" From: Victor Hadianto Organization: NUIX Pty. Ltd. To: "Lucene Users List" Subject: QueryParser with stop/key words inside quotes Date: Sun, 13 Apr 2003 18:02:26 +1100 User-Agent: KMail/1.4.3 Massage-Id: <13921192.1322@nuix.com.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200304131702.26535@bah> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Lucene's QueryParsers seems to drop stop/key words even if they are enclosed in double quotes. For example: apple for tomato --> +apple +tomato Which is what I expected, however "apple for tomato" --> "apple tomato" and "for" in between apple and tomato is conveniently dropped. Is there a way to tell QueryParser not to drop those words if they are enclosed in double quotes? Thanks, victor --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org