Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
6.1
-
None
-
None
Description
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": ["
value", "
{!min=true max=true ex=studies_range}value"],
"facet.pivot": "
{!stats=studies_stats }category,type,unit"
```
The query like this:
```
fq=
-(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).