It sounds like you're looking for hierarchical output of facets. Streaming
Expressions flattens the hierarchy like a mulit-dimension SQL group by
does, so there isn't currently support for having the facet tree result.
This decision was made because most visualization tools work with SQL style
multi-dimensional result.


Joel Bernstein
http://joelsolr.blogspot.com/


On Tue, Sep 6, 2022 at 8:19 AM t sornin <tsorni...@gmail.com> wrote:

> Joel send me this a while back:
>
> https://issues.apache.org/jira/browse/SOLR-9103
>
> You can write your own plugin to make the multiple facet stream tuples
> nested as required.
>
> Mathew
>
> On Tue, Sep 6, 2022, 6:09 AM Shankar R <iamrav...@gmail.com> wrote:
>
> > Hi Joel,
> > I am looking for nested faceted queries supported by JSON Facet API as
> part
> > of streaming expressions. The above link I already checked.
> >
> > sth like this
> >      facet :
> >            child_facet:
> >                     grand_child_facet:
> >
> > On Tue, Sep 6, 2022 at 3:36 PM Shankar R <iamrav...@gmail.com> wrote:
> >
> > > Thanks Joel. I am looking for nested faceted queries supported by JSON
> > > Facet API. The above link I already checked.
> > >
> > > sth like this
> > >      facet :
> > >            child_facet:
> > >                     grand_child_facet:
> > >
> > > Regards
> > > Ravi
> > >
> > > On Tue, Sep 6, 2022 at 2:45 AM Joel Bernstein <joels...@gmail.com>
> > wrote:
> > >
> > >> There is an example here:
> > >>
> > >> https://solr.apache.org/guide/8_9/search-sample.html#facet
> > >>
> > >> And also here:
> > >>
> > >> https://solr.apache.org/guide/8_9/search-sample.html#facet2d
> > >>
> > >>
> > >> Joel Bernstein
> > >> http://joelsolr.blogspot.com/
> > >>
> > >>
> > >> On Mon, Sep 5, 2022 at 11:07 AM Shankar R <iamrav...@gmail.com>
> wrote:
> > >>
> > >> > Hi,
> > >> >  Is it possible to use mult-level facet queries in streaming
> > >> > expressions. Any sample will help.
> > >> >
> > >> > Regards
> > >> > Ravi
> > >> >
> > >>
> > >
> >
>

Reply via email to