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

Trey Grainger edited comment on SOLR-2894 at 4/25/14 3:54 AM:
--------------------------------------------------------------

Hi Otis, I appreciate your interest here. That's correct: no previously working 
behavior was changed, and there are two things added with this patch: 1) 
distributed support, and 2) support for a single-level pivot facets (this 
previously threw an exception but is now supported: 
facet.pivot=aSingleFieldName).

For context on #2, we found no good reason to disallow a single-level pivot 
facet (functions like a field facet but with the pivot facet output format), it 
made implementing distributed pivot faceting easier since a single level could 
be considered when refining, and there was work in some downstream issues like 
SOLR-3583 (adding percentiles and other stats to pivot facets) which was 
dependent upon being able to easily alternate between any number of facet 
levels for analytics purposes, so we just added the support for a single level. 
This also makes it easier to build analytics tools without having to 
arbitrarily alternate between field facets and pivot facets and their 
corresponding output formats based upon the number of levels.

The end result is that no previously working capabilities have been modified, 
but distributed support for any number of pivot levels has been added, which 
should make this safe to commit to trunk.


was (Author: solrtrey):
Hi [~otis], I appreciate your interest here. That's correct: no previously 
working behavior was changed, and there are two things added with this patch: 
1) distributed support, and 2) support for a single-level pivot facets (this 
previously threw an exception but is now supported: 
facet.pivot=aSingleFieldName).

For context on #2, we found no good reason to disallow a single-level pivot 
facet (functions like to a field facet but with the pivot facet output format), 
it made implementing distributed pivot faceting easier since a single level 
could be considered when refining, and there was work in some downstream issues 
like SOLR-3583 (adding percentiles and other stats to pivot facets) which was 
dependent upon being able to easily alternate between any number of facet 
levels for analytics purposes, so we just added the support for a single level. 
This also makes it easier to build analytics tools without having to 
arbitrarily alternate between field facets and pivot facets and their 
corresponding output formats based upon the number of levels.

The end result is that no previously working capabilities have been modified, 
but distributed support for any number of pivot levels has been added.

> 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-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, 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