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

Yonik Seeley commented on SOLR-11363:
-------------------------------------

OK, I boiled it down to a very simple case that fails (when added to 
TestJsonFacets:

{code}
  @Test
  public void testRepeatedNumerics() throws Exception {
    Client client = Client.localClient();
    client.add(sdoc("id", "1", "cat_s", "A", "where_s", "NY", "num_d", "4", 
"num_i", "2", "val_b", "true", "sparse_s", "one", "num_is","0", "num_is","0"), 
null);
    client.commit();

    client.testJQ(params("q", "id:1"
        , "json.facet", "{f1:{terms:num_is}}"
        )
        , "facets=={count:1, " +
            "f1:{buckets:[{val:0, count:1}]}}"
    );
  }
{code}

The actual count being returned now is "2", which is incorrect... it should be 
the number of documents containing 0, which is 1

> TestCloudJSONFacetJoinDomain fails with Points enabled
> ------------------------------------------------------
>
>                 Key: SOLR-11363
>                 URL: https://issues.apache.org/jira/browse/SOLR-11363
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 7.0
>            Reporter: Yonik Seeley
>
> As Hoss noted in SOLR-10939, this test still had points disabled, and 
> enabling them causes tests to fail.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to