lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-7057) cleanup some sandiness around LatLonPoint
Date Tue, 01 Mar 2016 05:38:18 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-7057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Muir updated LUCENE-7057:
--------------------------------
    Attachment: LUCENE-7057.patch

Here's a stab. precommit and tests pass.

> cleanup some sandiness around LatLonPoint
> -----------------------------------------
>
>                 Key: LUCENE-7057
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7057
>             Project: Lucene - Core
>          Issue Type: Test
>            Reporter: Robert Muir
>         Attachments: LUCENE-7057.patch
>
>
> A few improvements to make this less sandy: geo stuff tends to get complicated so we
can try to make the simple stuff right
> * encode/decode tests became useless because all tested points were quantized
> * explicitly test extreme values (field creation and quantization error)
> * encoding could overflow integer for the maximum possible value
> * turn encoder checks into real checks
> * add assert on decode that decoded values are within bounds
> * test various illegal parameters
> * add setLocation(double, double) to change value for the field
> * improve javadocs 
> * fix toString bug in distance query
> * make distance and polygon queries package private
> * add missing numDims/bytesPerDim checks to distance and polygon query



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message