Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
smolloy asked a great question in SOLR-6351...
One more question around this, which applies for
SOLR-6353andSOLR-4212as well. Should we have a syntax to apply stats/queries/ranges only at specific levels in the pivot hierarchy? It would reduce amount of computation and size of response for cases where you only need it at a specific level (usually last level I guess).
I'm splitting this off into it's own Sub-task for further discussion.
For now, the "stats" localparam must be a single tag, and the "work around" is to add a common tag to all stats you want to use.
ie, this will cause an error...
stats.field={!tag=tagA}price stats.field={!tag=tagB}popularity stats.field={!tag=tagB}clicks facet.pivot={!stats=tagA,tagB}xxx,yyy,zz
but this will work...
stats.field={!tag=tagA,tagPivot}price stats.field={!tag=tagB,tagPivot}popularity stats.field={!tag=tagB,tagPivot}clicks facet.pivot={!stats=tagPivot}xxx,yyy,zz