You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Munendra S N (Jira)" <ji...@apache.org> on 2019/11/09 13:00:00 UTC

[jira] [Comment Edited] (SOLR-11695) JSON FacetModule needs equivilents for StatsComponent's "count" and "missing" features

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

Munendra S N edited comment on SOLR-11695 at 11/9/19 12:59 PM:
---------------------------------------------------------------

I have created sub-task SOLR-13911 and SOLR-13912 for missing and count aggregation support respectively.


was (Author: munendrasn):
I have created sub-task SOLR-13912 and SOLR-13913 for missing and count aggregation support respectively.

> JSON FacetModule needs equivilents for StatsComponent's "count" and "missing" features
> --------------------------------------------------------------------------------------
>
>                 Key: SOLR-11695
>                 URL: https://issues.apache.org/jira/browse/SOLR-11695
>             Project: Solr
>          Issue Type: Improvement
>          Components: Facet Module
>            Reporter: Chris M. Hostetter
>            Priority: Major
>
> StatsComponent supports stats named "count" and "missing":
> * count: for the set of documents we're computing stats over, "how many _non-distinct_ values exist in those documents in the specified field?" (or in the case of an arbitrary function: "in how many of these documents does true==ValueSource.exist()" ?)
> ** no to be confused with the number of _unique_ values (aprox "cardinality" or exact "countDistinct")
> * missing: for the set of documents we're computing stats over, "how many of those documents do not have any value in the specified field?" (or in the case of an arbitrary function: "in how many of thse documents does false==ValueSource.exist()" ?)
> (NOTE: for a single valued field, these are essentially inveses of each other, but for multivalued fields "count" actaully returns the total number of "value instances" not just the number of docs that have at least one value)
> AFAICT there is no equivalent functionality supported by the JSON FacetModule, which will be a blocker preventing some users from migrating from using stats.field (or facet.pivot+stats.field) to json.facet.



--
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