jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Hugonnet <ehsavoi...@gmail.com>
Subject Re: Not referenced
Date Fri, 18 Jul 2008 05:46:09 GMT
Alexander Klimetschek a écrit :
> On Thu, Jul 17, 2008 at 4:44 PM, Emmanuel Hugonnet <ehsavoie73@gmail.com> wrote:
>> I would like to get all the nodes of a list that are NOT referenced.
>> Is there a way to do this with a XPath Query  because  it looks like
>> reference is a one way axis for xpath :( .
> I think it is not possible with a query. You can iterate over all the
> nodes you want to inspect, call getReferences() on it and hence find
> out, which ones are referenced by another node.
> Regards,
> Alex
That's what I was doing but with over 3000 nodes this is quite a 
bottleneck for performance :-(
Maybe I should add an attribute for better filtering but I am moving 
from the data to the logic :-(

View raw message