jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: Search Query
Date Fri, 02 Jul 2010 10:18:59 GMT
On Wed, Jun 30, 2010 at 13:43, David Gough <bagel10002000@googlemail.com> wrote:
> Hi Rencana,
>
> Try
>
> //element(*, nt:file)[jcr:contains(jcr:
>>
>> path, '//"searchText"')]
>>
>
> or failing that:
>
> //element(*, nt:file)[jcr:like(jcr:
>>
>> path, '//"*searchText*"')]
>>

That doesn't work, there is no "jcr:path" for the execution of an
xpath query. This is only a pseudo-property for JCR-SQL (1.0) and when
reading out values from a Row.

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message