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 2015/06/24 05:00:44 UTC
[jira] [Commented] (SOLR-7702) Optionally disable null for all
zero's in spatial heatmap
[ https://issues.apache.org/jira/browse/SOLR-7702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14598785#comment-14598785 ]
David Smiley commented on SOLR-7702:
------------------------------------
Just curious, so what is the conundrum with SolrJ? I haven't written code to consume the heatmap outside of the requisite testing so I'm not sure what you ran up against. *Perhaps* the problem to be solved is in SolrJ if it has issues with null?
> Optionally disable null for all zero's in spatial heatmap
> ---------------------------------------------------------
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org