lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholas Knize (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7179) GeoPoint and LatLonPoint test data should quantize once
Date Tue, 05 Apr 2016 18:42:25 GMT


Nicholas Knize commented on LUCENE-7179:

b.q. Not true: we can take float instead. 

I'm not talking about float vs. double. I'm talking about encoding to 64 bit unsigned space.
(this is why I dislike the term "quantization" it's only part of the GeoPointField encoding).
Encoding to 64 bit unsigned space is required for GeoPointField so that GeoPointTermsEnum
can continue to operate using bit operations. Unless I change the size of the bit space.

> GeoPoint and LatLonPoint test data should quantize once
> -------------------------------------------------------
>                 Key: LUCENE-7179
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Nicholas Knize
>         Attachments: LUCENE-7179.patch
> {{LatLonPoint}} and {{GeoPointField}} tests pre quantizes test data to ensure consistency
with indexed (encoded) data. The pre quantized data then becomes indexed, undergoing another
quantization. To guarantee numerical stability this should be changed such that the test data
is quantized after indexing.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message