You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Pablo Anzorena (JIRA)" <ji...@apache.org> on 2016/03/30 12:57:25 UTC
[jira] [Comment Edited] (SOLR-8741) Json Facet API, numBuckets not
returning real number of buckets.
[ https://issues.apache.org/jira/browse/SOLR-8741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15217793#comment-15217793 ]
Pablo Anzorena edited comment on SOLR-8741 at 3/30/16 10:56 AM:
----------------------------------------------------------------
[~yonik@apache.org]The hll algorithm is throwing a NullPointerException in a specific field.
{code}
03-29@15:38:13,187 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.search.facet.HLLAgg$Merger.merge(HLLAgg.java:86)
03-29@15:38:13,187 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.search.facet.FacetBucket.mergeBucket(FacetModule.java:410)
03-29@15:38:13,187 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.search.facet.FacetQueryMerger.merge(FacetModule.java:337)
03-29@15:38:13,187 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.search.facet.FacetModule.handleResponses(FacetModule.java:178)
03-29@15:38:13,187 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:388)
03-29@15:38:13,188 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143)
03-29@15:38:13,188 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.core.SolrCore.execute(SolrCore.java:2064)
03-29@15:38:13,188 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:654)
03-29@15:38:13,188 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:450)
03-29@15:38:13,188 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:227)
03-29@15:38:13,188 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:196
{code}
The definition of the field in the schema is the following:
{code}
<field name="nro_shipper_unif" type="string" indexed="true" stored="false" required="false" multiValued="false" />
{code}
The particularity with this field is that it has a cardinality of million values.
was (Author: anzorena.fing@gmail.com):
[~yonik@apache.org]The hll algorithm is throwing a NullPointerException in a specific field.
[code]
03-29@15:38:13,187 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.search.facet.HLLAgg$Merger.merge(HLLAgg.java:86)
03-29@15:38:13,187 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.search.facet.FacetBucket.mergeBucket(FacetModule.java:410)
03-29@15:38:13,187 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.search.facet.FacetQueryMerger.merge(FacetModule.java:337)
03-29@15:38:13,187 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.search.facet.FacetModule.handleResponses(FacetModule.java:178)
03-29@15:38:13,187 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:388)
03-29@15:38:13,188 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143)
03-29@15:38:13,188 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.core.SolrCore.execute(SolrCore.java:2064)
03-29@15:38:13,188 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:654)
03-29@15:38:13,188 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:450)
03-29@15:38:13,188 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:227)
03-29@15:38:13,188 --APP: F, SSID:VDMSf4fvQaWsOMEbFfxEDGal, LOGIN:panzoren-- ERROR [stderr] (Thread-112) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:196
[/code]
The definition of the field in the schema is the following:
[code]
<field name="nro_shipper_unif" type="string" indexed="true" stored="false" required="false" multiValued="false" />
[/code]
The particularity with this field is that it has a cardinality of million values.
> Json Facet API, numBuckets not returning real number of buckets.
> ----------------------------------------------------------------
>
> Key: SOLR-8741
> URL: https://issues.apache.org/jira/browse/SOLR-8741
> Project: Solr
> Issue Type: Bug
> Components: Facet Module
> Reporter: Pablo Anzorena
>
> Hi, using the json facet api I realized that the numBuckets is wrong. It is not returning the right number of buckets. I have a dimension which numBuckets says it has 1340, but when retrieving all the results it brings 988.
> FYI the field is of type string.
> Thanks.
--
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