/int, and from there some (obscure) bitwise
operations make sure they sort properly.
: Date: Sun, 9 Apr 2006 14:53:31 +0300
: From: Nadav Har'El <[EMAIL PROTECTED]>
: Reply-To: java-user@lucene.apache.org
: To: java-user@lucene.apache.org
: Subject: solution: RangeQuery with floating po
On Sunday 09 April 2006 13:53, Nadav Har'El wrote:
>
> Hi all,
>
...
>
> By the way, it is worth repeating the warning that appears everywhere
> (including Lucene In Action): while this sort of trick works, RangeQuery
> is extremely inefficient (and might not even work) when the number of
> diff
Hi all,
As Lucene's documentation explain, RangeQuery (and ConstantScoreRangeQuery)
require their key to be strings which are lexicographically
(alphabetically) ordered.
"Lucene in Action", section 6.3.3 ("Handling numeric field-range queries")
explains
what to do when you need to range search in