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

Brett Lucey commented on SOLR-2894:
-----------------------------------

Hi AJ,

I just pulled the latest code from the repo, and when I patched the tip of the 
4.7 branch with the SOLR-2894 patch, I am not able to reproduce this issue.  
(Revision 5981529c65d4ae671895948f43d8770daa58746b)  This is the output I get 
using a pivot facet of cat,popularity.  I used this url while running the 
example: 
http://localhost:8983/solr/select?wt=json&q=*:*&rows=0&facet=true&facet.pivot=cat,popularity

[
        {
          "field": "cat",
          "value": "electronics",
          "count": 12,
          "pivot": [
            { "field": "popularity", "value": 7, "count": 4 },
            { "field": "popularity", "value": 6, "count": 3 },
            { "field": "popularity", "value": 1, "count": 2 },
            { "field": "popularity", "value": 0, "count": 1 },
            { "field": "popularity", "value": 5, "count": 1 },
            { "field": "popularity", "value": 10, "count": 1 }
          ]
        }, 
        ... 
]

Could you try with this same revision, applying only the SOLR-2894 patch and 
let me know if you see something different?

-Brett

> Implement distributed pivot faceting
> ------------------------------------
>
>                 Key: SOLR-2894
>                 URL: https://issues.apache.org/jira/browse/SOLR-2894
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Erik Hatcher
>             Fix For: 4.8
>
>         Attachments: SOLR-2894-reworked.patch, SOLR-2894.patch, 
> SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
> SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
> SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
> SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
> SOLR-2894.patch, dateToObject.patch
>
>
> Following up on SOLR-792, pivot faceting currently only supports 
> undistributed mode.  Distributed pivot faceting needs to be implemented.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to