[ https://issues.apache.org/jira/browse/SOLR-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13962111#comment-13962111 ]
Brett Lucey edited comment on SOLR-2894 at 4/7/14 6:32 PM: ----------------------------------------------------------- Hi AJ, Thanks for all that info. It was super helpful and I've narrowed down the issue. If you'd like to fix it on your setup, you only need to make two changes to PivotFacetValue.java. At the top, add an import for org.apache.solr.common.util.SimpleOrderedMap, and in the convertToNamedList() function in that file, change this line: NamedList<Object> newList = new NamedList<Object>(); to NamedList<Object> newList = new SimpleOrderedMap<Object>(); I will be posting a new SOLR-2894 patch within the next day or two, but that patch will be for trunk and will likely not apply cleanly to the 4.7 branch. If you need this working in 4.7, make the above changes. If you are using trunk, then this fix will be incorporated into the upcoming patch. -Brett was (Author: brett.lucey): Hi AJ, Thanks for all that info. It was super helpful and I've narrowed down the issue. If you'd like to fix it on your setup, you only need to make two changes to PivotFacetValue.java. At the top, add an import for org.apache.solr.common.util.SimpleOrderedMap, and in the convertToNamedList() function in that file, changed this line: NamedList<Object> newList = new NamedList<Object>(); to NamedList<Object> newList = new SimpleOrderedMap<Object>(); I will be posting a new SOLR-2894 patch within the next day or two, but that patch will be for trunk and will likely not apply cleanly to the 4.7 branch. If you need this working in 4.7, make the above changes. If you are using trunk, then this fix will be incorporated into the upcoming patch. -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