On 4/5/07, Leon <[EMAIL PROTECTED]> wrote:
I need to index and search real numbers in Lucene. I found NumberUtils class
in Solr project which permits one to encode doubles into string so that
alpha numeric ordering would correctly correspond to the ordering on
numbers. When I use ConstantScoreRan
earch - Share
- Original Message
From: Leon <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Friday, April 6, 2007 1:26:59 AM
Subject: Re: indexing and searching real numbers
Thanks for your reply Otis,
wquery.toString() returns westbc:[* TO ]
query.toString()
Thanks for your reply Otis,
wquery.toString() returns westbc:[* TO ]
query.toString() returns westbc:[* TO ]
If I compare these two strings for equality like
wquery.toString().equals(query.toString()) I get true. I also got bytes of
those strings and compared them bytewise - they are
You can't really rely on Query.toString() to produce a valid query identical to
the query in that Query instance. Are you sure both produce the same query
string? You didn't include that.
Otis
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Simpy -- http://www.simpy.com/ - Tag