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

[jira] [Resolved] (SOLR-12711) Count dominating child field values

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

Mikhail Khludnev resolved SOLR-12711.
-------------------------------------
    Resolution: Won't Fix

> Count dominating child field values
> -----------------------------------
>
>                 Key: SOLR-12711
>                 URL: https://issues.apache.org/jira/browse/SOLR-12711
>             Project: Solr
>          Issue Type: New Feature
>          Components: Facet Module
>            Reporter: Mikhail Khludnev
>            Priority: Major
>
> h2. Context
> {{uniqueBlock(_root_)}} which was introduced in SOLR-8998 allows to count child field facet grouping hits by parents, ie hitting every parent only once.
> h2. Problem
> How to count only dominating child field value. ie if a product has 5 Red skus and 2 Blue, it contributes {{Red(1)}}, {{Blue(0)}}
> h2. Suggestion
> Introduce {{dominatingBlock(_root_)}} which aggregate hits per parent, chooses the dominating one and incs only it.
> h2. Further Work
> Judge dominating value not by number of child hits, but by the given function value. Like pick the most popular, best selling, random child field value as dominating.



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