[
https://issues.apache.org/jira/browse/SOLR-6193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hoss Man updated SOLR-6193:
---------------------------
Description:
The distributed request logic for faceting (which has to clone&modify requests
to individual shards for dealing with things like facet.mincount, facet.sort,
facet.limit, & facet.offset so that the distributed aggregation is correct)
doesn't properly take into account localparams contained in each of the facet
params and how they should affect the initial shard requests and the subsequent
refinement requests.
{panel:title=Initial problem example reported by user}
When a distributed search contains multiselect faceting the per-field faceting
options are not honored for alternate selections of the field. For example with
a query like:
{noformat}
facet.field=blah&facet.field={!key myblah
facet.offset=10}blah&f.blah.facet.offset=20
{noformat}
The returned facet results for both blah and myblah will use an offset of 20 as
opposed to a standard search returning myblah with an offset of 10.
{panel}
was:
When a distributed search contains multiselect faceting the per-field faceting
options are not honored for alternate selections of the field. For example with
a query like:
{noformat}
facet.field=blah&facet.field={!key myblah
facet.offset=10}blah&f.blah.facet.offset=20
{noformat}
The returned facet results for both blah and myblah will use an offset of 20 as
opposed to a standard search returning myblah with an offset of 10.
Summary: using facet.* parameters as local params inside of facet.field
causes problems in distributed search (was: Distributed search with
multiselect faceting ignores the facet.offset local parameter)
> using facet.* parameters as local params inside of facet.field causes
> problems in distributed search
> ----------------------------------------------------------------------------------------------------
>
> Key: SOLR-6193
> URL: https://issues.apache.org/jira/browse/SOLR-6193
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Affects Versions: 4.8.1
> Environment: OS X 10.9.3 Apache Tomcat 7.0.41
> Debian Apache Tomcat 7
> Reporter: John Gibson
> Attachments: bad_facet_offset_test_4_8_x.patch
>
>
> The distributed request logic for faceting (which has to clone&modify
> requests to individual shards for dealing with things like facet.mincount,
> facet.sort, facet.limit, & facet.offset so that the distributed aggregation
> is correct) doesn't properly take into account localparams contained in each
> of the facet params and how they should affect the initial shard requests and
> the subsequent refinement requests.
> {panel:title=Initial problem example reported by user}
> When a distributed search contains multiselect faceting the per-field
> faceting options are not honored for alternate selections of the field. For
> example with a query like:
> {noformat}
> facet.field=blah&facet.field={!key myblah
> facet.offset=10}blah&f.blah.facet.offset=20
> {noformat}
> The returned facet results for both blah and myblah will use an offset of 20
> as opposed to a standard search returning myblah with an offset of 10.
> {panel}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]