Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 2723 invoked from network); 28 Apr 2003 15:02:02 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 28 Apr 2003 15:02:02 -0000 Received: (qmail 15108 invoked by uid 97); 28 Apr 2003 15:04:02 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@nagoya.betaversion.org Received: (qmail 15101 invoked from network); 28 Apr 2003 15:04:02 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 28 Apr 2003 15:04:02 -0000 Received: (qmail 2253 invoked by uid 500); 28 Apr 2003 15:01:56 -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 2172 invoked from network); 28 Apr 2003 15:01:55 -0000 Received: from web12702.mail.yahoo.com (216.136.173.239) by daedalus.apache.org with SMTP; 28 Apr 2003 15:01:55 -0000 Message-ID: <20030428150157.26181.qmail@web12702.mail.yahoo.com> Received: from [216.194.17.194] by web12702.mail.yahoo.com via HTTP; Mon, 28 Apr 2003 08:01:57 PDT Date: Mon, 28 Apr 2003 08:01:57 -0700 (PDT) From: Otis Gospodnetic Subject: Re: Range Query To: Lucene Users List In-Reply-To: <00b601c30d94$c0585080$6a00a8c0@Aviran> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Aviran, Yes, it looks like there is a discrepency between QueryParser's Range Query syntax and RangeQuery.toString() method. I can change the latter, but who uses toString() for anything other than human-friendly print-outs? What I wonder is why that Term, lo0ddiz2jml, oks like gibberish? Otis --- Aviran Mordo wrote: > Hi All, > I have submitted a bug report on this issue to bugzilla, but since I > haven't got any response to it I ask you guys > > When the RangeQuery.toString() outputs. The result is something like > this: "PostDate:[0ddiz2jml-null]" > > But the QueryParser does not handles the (-) sign (Throws and > exception), it expects the "TO" keyword. So in order for it to parse > the > string. > > The String has to be converted to "PostDate:[0ddiz2jml TO null]" > instead > of "PostDate:[0ddiz2jml-null]" > > Is this a BUG? > > BTW: I use Lucene 1.3-RC1 > > > > Thanks, > > Aviran Mordo > > __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org