You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Greg Miller (Jira)" <ji...@apache.org> on 2021/05/10 20:10:00 UTC

[jira] [Commented] (LUCENE-9953) FacetResult#value is inaccurate in LongValueFacetCounts for multi-value docs

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

Greg Miller commented on LUCENE-9953:
-------------------------------------

Created two PRs: one against {{branch_8x}} (in the older repo) and one against {{main}}. I don't think there should be any issue fixing in this 8.9 right?

> FacetResult#value is inaccurate in LongValueFacetCounts for multi-value docs
> ----------------------------------------------------------------------------
>
>                 Key: LUCENE-9953
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9953
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/facet
>    Affects Versions: 8.9
>            Reporter: Greg Miller
>            Priority: Minor
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> As described in a dev@ list [thread|http://mail-archives.apache.org/mod_mbox/lucene-dev/202105.mbox/%3CCANJ0CDo-9zt0U_pxWNOBkfiJpaAXZGGwOEJPnENAP6JzWz_t9Q%40mail.gmail.com%3E], the value of {{FacetResult#value}} should reflect the number of docs containing at least one value in a given facet path. LongValueFacetCounts counts the number of values contributed by all docs. In cases where all docs contain a single value, this is fine, but if a doc contains multiple values, {{FacetResult#value}} will be incorrect.
> This is a simple fix so I think we can include it in 8.9.
> Note: Spinning this off from LUCENE-9952 since fixing this for all cases (particularly SSDV) is trickier and may require non-backwards compatible changes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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