Ivan Georgiev created SOLR-9472:
-----------------------------------
Summary: Statistics tag exclusion doesn't work with pivots.
Key: SOLR-9472
URL: https://issues.apache.org/jira/browse/SOLR-9472
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: SearchComponents - other
Affects Versions: 6.1
Reporter: Ivan Georgiev
Priority: Minor
The ability to exclude certain statistics being affected during filtering with
tags, as addressed in this issue:
https://issues.apache.org/jira/browse/SOLR-3177 is working, but when the
statistics is applied to pivots - it doesn't.
With parameters like these:
```
"stats.field": ["{!tag=studies_stats min=true max=true ex=studies_range}value",
"{!min=true max=true ex=studies_range}value"],
"facet.pivot": "{!stats=studies_stats }category,type,unit"
```
The query like this:
```
fq={!tag=studies_range}-(type:T1 AND category:C1 AND -value:[1000 TO 3000])
```
does _not_ affect the global response's `stats_field` (correct), but it _does_
affect the `stats_field`inside each of the pivot components (in the response).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]