jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Long <l...@magillem.com>
Subject Re: error with xpath query
Date Fri, 09 Jul 2010 07:57:13 GMT
Le 08/07/2010 23:44, Alexander Klimetschek a écrit :
> The "or" must be lowercase.
> BTW, it looks like you might be able to simplify your queries by using
> the indexing config. You would aggregate the interesting properties
> only on the node level, eg. all your jcr:* props, and then just do a
> jcr:contains(., 'test sample'). "." is the node scope. See
> http://wiki.apache.org/jackrabbit/IndexingConfiguration
>
> Also, I would not use the jcr: namespace for custom properties, it's
> reserved for node types and properties from the specification. Might
> become an issue when you switch to a future version of the JCR API and
> "jcr:text" is now a built-in protected property, for example.
>
> Regards,
> Alex
>
>    

Thank you for the advice :) I'll take a look at the wiki.

Regards,
Gary



Mime
View raw message