jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Scheffler <thomas.scheff...@uni-jena.de>
Subject Re: Xpath query question
Date Mon, 24 Apr 2006 14:39:38 GMT
Am Montag, 24. April 2006 16:30 schrieb thomasg:
> Hi,
> However this query seems to work like the AND above and only returns a hit
> if all 3 clauses contain 'history'.
> "//*[jcr:contains(@axxia:title, 'history')] OR
> [jcr:contains(@axxia:subject, 'history')] OR [jcr:contains(@axxia:keywords,
> 'history')]"


I would have probably tried this one first:

//*[jcr:contains(@axxia:title, 'history') OR
jcr:contains(@axxia:subject, 'history') OR jcr:contains(@axxia:keywords, 

The difference is that all OR conditions are in und predicate. Tell me if this 
makes a difference.



View raw message