You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cassandra Targett (JIRA)" <ji...@apache.org> on 2018/07/25 13:12:00 UTC

[jira] [Updated] (SOLR-12556) JSON Field Facet refinement can return incorrect counts/stats for sorted buckets -- when using processEmpty

     [ https://issues.apache.org/jira/browse/SOLR-12556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cassandra Targett updated SOLR-12556:
-------------------------------------
    Component/s: Facet Module

> 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) 
>          Components: Facet Module
>            Reporter: Hoss Man
>            Priority: Major
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org