You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2018/04/13 21:09:00 UTC

[jira] [Resolved] (SOLR-11731) LatLonPointSpatialField could be improved to return the lat/lon from docValues

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

David Smiley resolved SOLR-11731.
---------------------------------
    Resolution: Fixed

I spent more time looking at this and committed an improvement adding one more decimal place -- 8.  This gets us to below the theoretical precision.  The test now tests with the theoretical bounds (now even more aggressive -- 1.04cm down from 1.33cm).  I looped it a few thousand times without failure.

> LatLonPointSpatialField could be improved to return the lat/lon from docValues
> ------------------------------------------------------------------------------
>
>                 Key: SOLR-11731
>                 URL: https://issues.apache.org/jira/browse/SOLR-11731
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: spatial
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>             Fix For: 7.4
>
>         Attachments: SOLR-11731.patch, SOLR-11731.patch, SOLR-11731.patch
>
>          Time Spent: 4.5h
>  Remaining Estimate: 0h
>
> You can only return the lat & lon from a LatLonPointSpatialField if you set stored=true.  But we could allow this (albeit at a small loss in precision) if stored=false and docValues=true.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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