lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Khludnev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-10520) BlockJoinFacetComponet duplicate counts when rows>0
Date Fri, 28 Apr 2017 09:28:04 GMT

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

Mikhail Khludnev commented on SOLR-10520:
-----------------------------------------

branch_6x commit 

https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;a=commitdiff;h=ea3f9bb87d1e6c3cf812122c3a6f9160a8b49a19


> BlockJoinFacetComponet duplicate counts when rows>0
> ---------------------------------------------------
>
>                 Key: SOLR-10520
>                 URL: https://issues.apache.org/jira/browse/SOLR-10520
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Mikhail Khludnev
>             Fix For: 6.6, master (7.0)
>
>         Attachments: SOLR_10520.patch, SOLR-10520.patch, SOLR-10520-test.patch
>
>
> when we have rows>0 every shard receive:
> bq. ids=2,3,6,7,9&isShard=true&shards.purpose=64&distrib=false
> this is ShardRequest.PURPOSE_GET_TOP_IDS
> In this case {{child_facet_fields}} are merged once again unnecessary. 
> failure is 
> {code}
> java.lang.AssertionError: don't({3=[1], s=[6], white=[0, 3, 5, 6, 7, 8, 9, 10], xl=[8],
don't=[0, 1, 2, 5, 6, 8, 10], 6=[0, 2, 7], xml=[3, 6, 8], xxxl=[0, 7, 9], l=[8, 10], m=[5,
9, 10], xxl=[5], grey=[9]} COLOR_s:[don't (14), white (16), grey (2)] SIZE_s:[m (6), xxl (2),
6 (6), s (2), xml (6), xxxl (6), 3 (2), l (4), xl (2)]) expected:<7> but was:<14>
> 	at __....
> org.apache.solr.search.join.BlockJoinFacetDistribTest.testBJQFacetComponent(BlockJoinFacetDistribTest.java:148)
> {code}
> see test patch attached
> I suppose it's worth to exclude not only PURPOSE_GET_TOP_IDS but any other too, and make
sure that _reduce_ is done only once on distributed search. 
>   



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message