[
https://issues.apache.org/jira/browse/SOLR-792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907496#action_12907496
]
Ryan McKinley commented on SOLR-792:
------------------------------------
I'm messing with a new implementation that allows deeper nesting. To get this
to work, the output needs to be a bit more verbose. Consider:
http://localhost:8983/solr/select?q=*:*&facet.pivot=cat,popularity,inStock&facet.pivot=popularity,cat&facet=true&facet.field=cat&facet.limit=5&rows=0&wt=json&indent=true
{code}
"facet_pivot":{
"cat,popularity,inStock":[{
"field":"cat",
"value":"electronics",
"count":17,
"pivot":[{
"field":"popularity",
"value":"6",
"count":5,
"pivot":[{
"field":"inStock",
"value":"true",
"count":5}]},
{
"field":"popularity",
"value":"7",
"count":5,
"pivot":[{
"field":"inStock",
"value":"true",
"count":3},
{
"field":"inStock",
"value":"false",
"count":2}]},
{
...
{code}
This nested faceting will look great in:
http://download.carrotsearch.com/circles/demo/
> Tree Faceting Component
> -----------------------
>
> Key: SOLR-792
> URL: https://issues.apache.org/jira/browse/SOLR-792
> Project: Solr
> Issue Type: New Feature
> Reporter: Erik Hatcher
> Assignee: Erik Hatcher
> Priority: Minor
> Attachments: SOLR-792-PivotFaceting.patch, SOLR-792.patch,
> SOLR-792.patch, SOLR-792.patch, SOLR-792.patch, SOLR-792.patch, SOLR-792.patch
>
>
> A component to do multi-level faceting.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]