What you're trying to do should work. Possibly of you provide more detail
like the full query with some sample outputs I might be able to see what
the issue is.

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


On Wed, Apr 10, 2019 at 10:55 AM Kojo <rbsnk...@gmail.com> wrote:

> Hello everybody I have a question about Streaming Expression/Graph
> Traversal.
>
> The following pseudocode works fine:
>
> complement( search(),
>     sort(
>         gatherNodes( collection, search())
>     ),
> )
>
>
> However, when I feed the SE resultset above to another gatherNodes
> function, I have a result different from what I expected. It returns the
> root nodes (branches) of the inner gatherNodes:
>
> gatherNodes( collection,
>     complement( search(),
>         sort(
>            gatherNodes( collection, search())
>         ),
>     ),
> )
>
> In the case I tested, the outer gatherNodes does not have leaves. I was
> waiting to have the result from the "complement" function as the root nodes
> of the outter gatherNodes function. Do you know how can I achieve this?
>
> Thank you,
>

Reply via email to