You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrew Muldowney (JIRA)" <ji...@apache.org> on 2014/05/16 23:30:51 UTC

[jira] [Comment Edited] (SOLR-2894) Implement distributed pivot faceting

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

Andrew Muldowney edited comment on SOLR-2894 at 5/16/14 9:28 PM:
-----------------------------------------------------------------

Thank you Hoss, that explanation gave me everything I needed. 

So this patch breaks up the "modifyRequest" block into three parts. First is the global removal and then running of the "modifyRequestForFieldFacets" and "modifyRequestForPivotFacets" and includes the changed mincount for pivot facet fields.

This also changes the refinement queries from
 facet.pivot=\{!terms=$cat,inStock_10__terms\}cat,inStock
to
facet.pivot=\{!fpt=1\}cat,inStock

This caused some problems since before each term had its own facet.pivot and thusly its own context and PivotFacetProcessor. 
Now that we only have one context for all the refinement requests we needed to manage our DocSet since it gets messed with. But those issues seem to be fixed.


was (Author: andrew.muldowney):
Thank you Hoss, that explanation gave me everything I needed. 

So this patch breaks up the "modifyRequest" block into three parts. First is the global removal and then running of the "modifyRequestForFieldFacets" and "modifyRequestForPivotFacets" and includes the changed mincount for pivot facet fields.

This also changes the refinement queries from
 facet.pivot={!terms=$cat,inStock_10__terms}cat,inStock
to
facet.pivot={!fpt=1}cat,inStock

This caused some problems since before each term had its own facet.pivot and thusly its own context and PivotFacetProcessor. 
Now that we only have one context for all the refinement requests we needed to manage our DocSet since it gets messed with. But those issues seem to be fixed.

> 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.9, 5.0
>
>         Attachments: SOLR-2894-mincount-minification.patch, 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, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894_cloud_test.patch, dateToObject.patch, pivot_mincount_problem.sh
>
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org