Mikhail,
>What if you just forgen about middle level
It worked, thank you.
I need facets from middle level too, and making child query to match both
middle and child level allowes this and facet counts look working fine.
Jhon,
What if you just forgen about middle level and q={!parent
which=type_s:parent}...&child.facet.field=SIZE_s
Binoy,
facet.query works but there should be many of them one for L, one for M, etc
On Wed, Mar 9, 2016 at 7:09 PM, Jhon Smith wrote:
> There are 3 levels of nested docs: parent -> m
I think you are looking for the facet.query method.
To get your child doc facets append &facet.query=
On Wed, 9 Mar 2016, 21:39 Jhon Smith, wrote:
> There are 3 levels of nested docs: parent -> mniddle -> child.
>
> E.g.
>
> 9
> parent
>
> 10
> middle
> Nike
>
> 11
> Red
> XL
>
>
> 12
> Blu
There are 3 levels of nested docs: parent -> mniddle -> child.
E.g.
9
parent
10
middle
Nike
11
Red
XL
12
Blue
XL
If i retrieve middle docs with q={!parent
which=type_s:middle}...&child.facet.field=SIZE_s
then facets work fine (in the latest solr): XL(1)
But i want to retrieve top parent