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-7124) SloppyMath is too accurate
Date Mon, 21 Mar 2016 18:24:25 GMT

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

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

Here is a stab at a patch. It reduces tables from ~352KB to ~64KB, and in my measurements
is ~ 20% faster.

> SloppyMath is too accurate
> --------------------------
>
>                 Key: LUCENE-7124
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7124
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Robert Muir
>         Attachments: LUCENE-7124.patch
>
>
> Followup from LUCENE-7123:
> Latitude/longitude values are encoded by GeoPointField/LatLonPoint with 1E-6 or 1E-7
error. 
> However, the sloppy distance formula is far too accurate to the actual (10nm), making
it slower and relying on large tables. We should only do as good as we need, and especially
try to reduce the huge tables.



--
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