[ https://issues.apache.org/jira/browse/SOLR-7702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Markus Jelsma updated SOLR-7702: -------------------------------- Attachment: SOLR-7702.patch New patch with unit test, and added the new parameter to FacetParams. All unit tests pass except: [junit4] Tests with failures: [junit4] - org.apache.solr.common.cloud.TestZkConfigManager (suite) > Spatial heatmap facet returns null in map for efficiency > -------------------------------------------------------- > > Key: SOLR-7702 > URL: https://issues.apache.org/jira/browse/SOLR-7702 > Project: Solr > Issue Type: Bug > Affects Versions: 5.2 > Reporter: Markus Jelsma > Assignee: David Smiley > Fix For: 5.3 > > Attachments: SOLR-7702.patch, SOLR-7702.patch > > > Parsing all those null entries in a NamedList seems impossible via SolrJ. > {code} > <lst name="facet_heatmaps"><lst name="coord"><int > name="gridLevel">3</int><int name="columns">256</int><int > name="rows">128</int><double name="minX">-180.0</double><double > name="maxX">180.0</double><double name="minY">-90.0</double><double > name="maxY">90.0</double><arr > name="counts_ints2D"><null/><null/><null/><null/><null/><null/><null/><null/><null/><null/><null/><null/><null/><null/><null/><null/><null/><null/><null/><null/><null/><null/><null/><null/><null/><null/><arr><int>0</int><int>0</int><int>0</int><int>0</int><int>0</int><int>0</int><int>0</int><int>0</int><int>0</int><int>0</int><int>0</int><int>0</int> > {code} > All namedList methods that can retrieve counts_ints2d return null. This patch > adds a setting to not to return null for all zeros. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org