Torgeir Veimo wrote:
> You mean content nodes?

no, context nodes (XPath lingo)

> I was hoping that there was a way to search any attribute. I can of
> course do some hacks where as I concatenate the property values of all
> the attributes and put the string into a 'catchall' property, but i
> think such a search would be better handled in the indexing system.

you don't need such a 'catchall' property. using XPath you would write:
//*[jcr:contains(., 'text')]

which is simply 'text' in GQL. See JavaDoc [0].

regards
 marcel

[0]
http://svn.apache.org/repos/asf/jackrabbit/branches/1.5/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/query/GQL.java

Reply via email to