Hoss Man created SOLR-12556:
-------------------------------
Summary: JSON Field Facet refinement can return incorrect
counts/stats for sorted buckets -- when using processEmpty
Key: SOLR-12556
URL: https://issues.apache.org/jira/browse/SOLR-12556
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Hoss Man
Creating this spin off of SOLR-12343 - the fix in that issue addresses the most
common cases, but does not help when {{processEmpty:true}} is used...
{panel}
in {{getRefinement()}} you've got {{returnedAllBuckets}} taking into
consideration {{processEmpty:true}} - so that even if a shardA doesn't say it
has {{more:true}} we will still send it candidate bucketX for refinement if we
didn't explicitly {{saw}} bucketX on shardA. so far so good.
but then, once all the refinement is done, and we have a fully refined bucketX
it might now sort "lower" then an incomplete bucketY ... and
{{isBucketComplete}} doesn't pay any attention to {{processEmpty:true}} ... so
it sees that shardA does *not* have {{more:true}} and thinks (the incomplete)
bucketY is ok to return.
{panel}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]