Hello,

I have not tested with a local Jackrabbit. But you found the problem.
It is the remote SPI connection.

Node node = result.getNodes().nextNode(); << doesn't work and return a
NoSuchElementException

But :

Node node = result.getRows().nextRow().getNode("node"); << works well.

I will open a ticket on the Jackrabbit jira bugtracker.

Thanks

Grégory OLIVER



2012/11/15 Jukka Zitting <[email protected]>

> Hi,
>
> On Thu, Nov 15, 2012 at 12:26 AM, [email protected]
> <[email protected]> wrote:
> > When i do a left join, I expect to have at least the element on the FROM.
> > Did I miss something ?
>
> Do you get the same result when querying locally (i.e. not over a
> remote SPI connection)? It might be that the SPI codebase still has
> some trouble dealing with join results, especially when you're
> accessing them with a NodeIterator instead of a RowIterator.
> Alternatively, if the problem shows also on local access, you may be
> hitting some bug in the core join implementation.
>
> BR,
>
> Jukka Zitting
>

Reply via email to