[ 
https://issues.apache.org/jira/browse/SOLR-11731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16402457#comment-16402457
 ] 

David Smiley commented on SOLR-11731:
-------------------------------------

Thanks for offering a great starting point.  I worked on it further 
significantly, esp. with testing.
* Improved testing:
** test round-trip more methodically using a RetrievalCombo class/struct to 
hold index & return value
** new testLLPDecodeIsStableAndPrecise to test that the result is stable (can 
be re-indexed to get the same value), and that it's precise (< 1.3 cm)
* Adjusted to BigDecimal setScale(7,CEILING) as comments indicate why.
* Ensured we only wrap in an array when the field is multiValued.
WDYT?

> 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
>         Attachments: SOLR-11731.patch, SOLR-11731.patch, SOLR-11731.patch
>
>          Time Spent: 4h 20m
>  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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to