You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Chris M. Hostetter (Jira)" <ji...@apache.org> on 2019/11/12 04:44:00 UTC

[jira] [Comment Edited] (SOLR-13912) Support Count aggregation in JSON facet module

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

Chris M. Hostetter edited comment on SOLR-13912 at 11/12/19 4:43 AM:
---------------------------------------------------------------------

Munendra: I skimmed your patch w/o testing it in depth -- here are some misc thoughts....

* I'm surprised by the need for the new classes BaseDVAcc, CountMultiValuedAcc, SortedSetDVAcc, & SortedNumericAcc -- all of which are specific to CountValsAgg.  do we not have any existing general purpose abstractions for the differences between Accumulating values over SortedSetDV, SortedNumericDV that could be reuse here w/simple subclasses the _only_ worry about the "counting"
* new aggregations need to be covered in the ref guide: https://lucene.apache.org/solr/guide/8_2/json-facet-api.html#stat-facet-functions
* as noted in the parent issue SOLR-11695 we have existing commented out test coverage adapted from legacy facts+stats testing that refers to "{{// TODO:  SOLR\-11695}}" in java comments -- if we're adding this functionality now, then those tests should be un-commented (and pass)


was (Author: hossman):
Munendra: I skimmed your patch w/o testing it in depth -- here are some misc thoughts....

* I'm surprised by the need for the new classes BaseDVAcc, CountMultiValuedAcc, SortedSetDVAcc, & SortedNumericAcc -- all of which are specific to CountValsAgg.  do we not have any existing general purpose abstractions for the differences between Accumulating values over SortedSetDV, SortedNumericDV that could be reuse here w/simple subclasses the _only_ worry about the "counting"
* new aggregations need to be covered in the ref guide: https://lucene.apache.org/solr/guide/8_2/json-facet-api.html#stat-facet-functions
* as noted in the parent issue SOLR-11695 we have existing commented out test coverage adapted from legacy facts+stats testing that refers to {{SOLR-1169}} in java comments -- if we're adding this functionality now, then those tests should be un-commented (and pass)

> Support Count aggregation in JSON facet module
> ----------------------------------------------
>
>                 Key: SOLR-13912
>                 URL: https://issues.apache.org/jira/browse/SOLR-13912
>             Project: Solr
>          Issue Type: Sub-task
>          Components: Facet Module
>            Reporter: Munendra S N
>            Priority: Major
>         Attachments: SOLR-13912.patch
>
>
> Add a count aggregation in JSON Facet module which behaves similar to StatsComponent's count



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