jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@git.es>
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:49:13 GMT

El vie, 28-03-2008 a las 09:44 +0200, Jukka Zitting escribió:
> 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.


Ok, I understand it now. Thanks!
-- 
Paco Avila <pavila@git.es>
GIT Consultors


Mime
View raw message