Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 96123 invoked from network); 1 May 2006 19:38:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 May 2006 19:38:56 -0000 Received: (qmail 89894 invoked by uid 500); 1 May 2006 19:38:50 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 89791 invoked by uid 500); 1 May 2006 19:38:50 -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 89780 invoked by uid 99); 1 May 2006 19:38:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2006 12:38:50 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 203.83.115.100 is neither permitted nor denied by domain of mchan@cse.unsw.edu.au) Received: from [203.83.115.100] (HELO sitar.i-cable.com) (203.83.115.100) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 01 May 2006 12:38:49 -0700 Received: (qmail 4125 invoked by uid 508); 1 May 2006 19:38:25 -0000 Received: from 203.83.114.122 by sitar (envelope-from , uid 505) with qmail-scanner-1.25 (clamdscan: 0.86rc1/938. Clear:RC:1(203.83.114.122):. Processed in 0.091895 secs); 01 May 2006 19:38:25 -0000 Received: from ip114122.hkicable.com (HELO xenon.i-cable.com) (203.83.114.122) by 0 with SMTP; 1 May 2006 19:38:25 -0000 Received: from [127.0.0.1] (cm61-18-137-145.hkcable.com.hk [61.18.137.145]) by xenon.i-cable.com (8.13.5/8.13.5) with ESMTP id k41JbuJb004517 for ; Tue, 2 May 2006 03:38:25 +0800 (CST) Message-ID: <4456638E.5070700@cse.unsw.edu.au> Date: Tue, 02 May 2006 03:37:50 +0800 From: Michael Chan User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Lucene Users Subject: Stemming terms in SpanQuery Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I'm trying to build a SpanQuery using word stems. Is parsing each term with a QueryParser, constructed with an Analyzer giving stemmed tokenStream, the right approach? It just seems to me that QueryParser is designed to parse queries, and so my hunch is that there might be a better way. Any help will be much appreciated. Michael --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org