Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 2717 invoked from network); 10 Oct 2005 21:53:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2005 21:53:34 -0000 Received: (qmail 52859 invoked by uid 500); 10 Oct 2005 21:53:33 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 52840 invoked by uid 500); 10 Oct 2005 21:53:33 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 52829 invoked by uid 99); 10 Oct 2005 21:53:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 14:53:33 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of yseeley@gmail.com designates 72.14.204.203 as permitted sender) Received: from [72.14.204.203] (HELO qproxy.gmail.com) (72.14.204.203) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 14:53:35 -0700 Received: by qproxy.gmail.com with SMTP id c8so1162713qbc for ; Mon, 10 Oct 2005 14:53:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=lg3Z8dN6Ls8IyKps4sfHijwyn1prJreCOeLf3v+CTtq3waTjCZuwHWkADHV4Qiqbf8mTbySIzes4hkzDSKR93NJuF7T02oFcLjvG4mmeoAriGnqHisEgHm7qnq8cDA3/LUj0TWD39AoJibkTnuQa6An3Iix1l6TUSKEI8a9XqRA= Received: by 10.65.112.20 with SMTP id p20mr3544703qbm; Mon, 10 Oct 2005 14:53:11 -0700 (PDT) Received: by 10.65.121.10 with HTTP; Mon, 10 Oct 2005 14:53:11 -0700 (PDT) Message-ID: Date: Mon, 10 Oct 2005 17:53:11 -0400 From: Yonik Seeley To: java-dev@lucene.apache.org, haipeng du Subject: Re: how to search lucene with "great than" query In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5720_10526049.1128981191398" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_5720_10526049.1128981191398 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Use an open-ended range query by leaving one endpoint null of a RangeQuery or RangeFilter. The current QueryParser API doesn't have syntax to support this so you have to use the Java API. -Yonik Now hiring -- http://tinyurl.com/7m67g On 10/10/05, haipeng du wrote: > > I want to search lucene with some values are greater than specified value= . > How could I create a query? > Thanks a lot. > > -- > Haipeng Du > Software Engineer > Comphealth, > Salt Lake City > > ------=_Part_5720_10526049.1128981191398--