Solr’s Nesting: On Solr’s Capabilities to Handle (Deeply) Nested Document Structures
Alisa Zhila
134

Hi, thanks for your guide.

I have a problem for retrieve a ChildDocTransformerFactory hierarchical.

I have this structrure:

<doc>

<str name=”example”>GRANDPARENT</str>

<doc>

<str name=”example”>PARENT</str>

<doc>

<str name=”example”>CHILD</str>

</doc>

</doc>

</doc>

Now, how retrieve full structure in hierarchical mode?

if I try with :

select?fl=*,[child parentFilter=parentela:GRANDPARENT childFilter=parentela:PARENT]&fq={!parent which=parentela:GRANDPARENT v=parentela:PARENT}&indent=on&q=*:*&wt=xml

I have only Grandparent with its parent. I would like have under parent, the corrispondent child.

Can you help me?

Show your support

Clapping shows how much you appreciated Catello Sabatino’s story.