[
https://issues.apache.org/jira/browse/SOLR-6353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14163473#comment-14163473
]
Steve Molloy commented on SOLR-6353:
------------------------------------
See latest patch on SOLR-4212 which covers both facet queries and facet ranges.
Did not tackle refactoring of SImpleFacets, but have working solution that
should at least provide basis on which to build.
> Let Range Facets Hang off of Pivots
> -----------------------------------
>
> Key: SOLR-6353
> URL: https://issues.apache.org/jira/browse/SOLR-6353
> Project: Solr
> Issue Type: Sub-task
> Reporter: Hoss Man
>
> Conceptually very similar to the previous sibling issues about hanging stats
> of pivots & ranges: using a "tag" on {{facet.range}} requests, we make it
> possible to hang a range off the nodes of Pivots.
> Example...
> {noformat}
> facet.pivot={!range=r1}category,manufacturer
> facet.range={tag=r1}price
> {noformat}
> ...with the request above, in addition to computing range facets over the
> price field for the entire result set, the PivotFacet component will also
> include all of those ranges for every node of the tree it builds up when
> generating a pivot of the fields "category,manufacturer"
> This should easily be combinable with the other sibling tasks to hang stats
> off ranges which hang off pivots. (see parent issue for example)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]