[
https://issues.apache.org/jira/browse/SOLR-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Muldowney updated SOLR-2894:
-----------------------------------
Attachment: SOLR-2894.patch
I've uploaded a new file with my {{facet.missing}} changes. It's got the small
and longtail working.
{code:title=DistributedFacetPivotLargeTest.java}rsp = query( "q", "*:*",
"fq", "-place_s:0placeholder",
"rows", "0",
"facet","true",
"facet.limit","1",
"facet.missing","true",
//FacetParams.FACET_OVERREQUEST_RATIO, "0", // force refine
//FacetParams.FACET_OVERREQUEST_COUNT, "0", // force refine
"facet.pivot","special_s,company_t");{code}
This test gets whacky when the {{OVERREQUEST}} options are uncommented. With
the {{OVERREQUEST}} options uncommented we do not get the proper {{bbc}} value
and so the distributed version diverges from the non-distrib. Your second
comment on this issue is exactly on point.
Another variance in that test is that on the distrib side we get
{code}
{field=special_s,value=,count=3,pivot=[
{field=company_t,value=microsoft,count=2},
{field=company_t,value=null,count=0}]}
{code}
whereas for the non-distrib we just get
{code}
{field=special_s,value=,count=3,pivot=[
{field=company_t,value=microsoft,count=2}]}
{code}
Should {{facet.missing}} respect the {{mincount}} (in this case it's 1)?
> Implement distributed pivot faceting
> ------------------------------------
>
> Key: SOLR-2894
> URL: https://issues.apache.org/jira/browse/SOLR-2894
> Project: Solr
> Issue Type: Improvement
> Reporter: Erik Hatcher
> Assignee: Hoss Man
> 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.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: [email protected]
For additional commands, e-mail: [email protected]