Mikhail Khludnev created SOLR-12711:
---------------------------------------
Summary: Count dominating child field values
Key: SOLR-12711
URL: https://issues.apache.org/jira/browse/SOLR-12711
Project: Solr
Issue Type: New Feature
Security Level: Public (Default Security Level. Issues are Public)
Components: Facet Module
Reporter: Mikhail Khludnev
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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]