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

[jira] [Reopened] (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 ]

Steve Rowe reopened SOLR-11731:
-------------------------------

Reproducing seed for a failure for a test introduced on this issue, from [https://jenkins.thetaphi.de/job/Lucene-Solr-master-MacOSX/4555/]:

{noformat}
Checking out Revision bd8fe72426b2a9df45050143e85481f523854239 (refs/remotes/origin/master)
[...]
  [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestSolr4Spatial2 -Dtests.method=testLLPDecodeIsStableAndPrecise -Dtests.seed=4A0FE4EBBF28C333 -Dtests.slow=true -Dtests.locale=sv-SE -Dtests.timezone=Asia/Novokuznetsk -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
  [junit4] FAILURE 0.02s J0 | TestSolr4Spatial2.testLLPDecodeIsStableAndPrecise {seed=[4A0FE4EBBF28C333:334C1482C273AE6C]} <<<
  [junit4]    > Throwable #1: java.lang.AssertionError: deltaCm too high: 1.3555223714857696
  [junit4]    > 	at __randomizedtesting.SeedInfo.seed([4A0FE4EBBF28C333:334C1482C273AE6C]:0)
  [junit4]    > 	at org.apache.solr.search.TestSolr4Spatial2.testLLPDecodeIsStableAndPrecise(TestSolr4Spatial2.java:167)
  [junit4]    > 	at java.lang.Thread.run(Thread.java:748)
[...]
  [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): {srptgeom=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))), bboxD_dynamic__xdl=Lucene50(blocksize=128), id=Lucene50(blocksize=128)}, docValues:{srptgeom=DocValuesFormat(name=Direct), bboxD_dynamic__maxX=DocValuesFormat(name=Direct), llp_N_dv_dvasst=DocValuesFormat(name=Lucene70), llp_1_dv_dvasst=DocValuesFormat(name=Memory), llp_1_dv_st=DocValuesFormat(name=Direct), llp_N_dv=DocValuesFormat(name=Lucene70), llp_N_dv_st=DocValuesFormat(name=Lucene70), bboxD_dynamic__minY=DocValuesFormat(name=Lucene70), llp_1_dv=DocValuesFormat(name=Direct), bboxD_dynamic__minX=DocValuesFormat(name=Memory), bboxD_dynamic__maxY=DocValuesFormat(name=Asserting)}, maxPointsInLeafNode=507, maxMBSortInHeap=5.869480725854461, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@d8154da), locale=sv-SE, timezone=Asia/Novokuznetsk
  [junit4]   2> NOTE: Mac OS X 10.11.6 x86_64/Oracle Corporation 1.8.0_144 (64-bit)/cpus=3,threads=1,free=94769840,total=134217728
{noformat}

> 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