lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Bernstein <joels...@gmail.com>
Subject Re: Graph Query Parser
Date Tue, 23 Aug 2016 22:28:06 GMT
If you're using Solr Cloud, the shortestPath streaming expression will do
that for you:

https://cwiki.apache.org/confluence/display/solr/Streaming+Expressions#StreamingExpressions-shortestPath

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

On Tue, Aug 23, 2016 at 4:34 PM, Jigar Shah <jigaronline@gmail.com> wrote:

> Hello,
>
> I am trying to get "path" from root node to leaves using Graph Query
> Parser. Graph Query Parser gives me all child nodes from root but not
> specific paths. Can someone suggest how to get that?
>
> e.g: If i have parent to child relation as follows.
>
> A -> B,C -> D
>
> D is child of B and C and they are child of A.
>
> Expected result set:
>
> A/B/D
> A/C/D
>
> Resultset should have ordered list from root to leaf, like we get in
> hierarchical facet.
>
> Thanks,
> Jigar Shah.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message