jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: how can I say to jackrabbit to index a text when I put a TIFF in the repository?
Date Fri, 28 Mar 2008 07:44:54 GMT
Hi,

On Fri, Mar 28, 2008 at 9:39 AM, Paco Avila <pavila@git.es> wrote:
>  El vie, 28-03-2008 a las 08:57 +0200, Jukka Zitting escribió:
>  > You could use jcr:contains(., 'hola mundo') that looks in all
>  > properties of a node.
>
>  But nt:resource is a subnode and my:docText is a property,
>  jcr:contains(., 'hola mundo') will search in all properties and
>  subnodes?

Ah, yes. Put the extra text property in the nt:resource node (with an
appropriate mixin or subtype as mentioned by Philipp). Then
jcr:contains(jcr:content,'hola mundo') should match the content.

BR,

Jukka Zitting

Mime
View raw message