jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roy Teeuwen <...@teeuwen.be>
Subject Re: XPath jcr:contains(.,"value") exlude one or more Properties
Date Sat, 04 Feb 2017 19:12:35 GMT
Hey Michael,

That's exactly what first argument is for. The dot "." means that it will search all the properties.
If you want to search in a specific property, you could make it jcr:contains(@myproperty,"my
value")

Greets
Roy
> On 4 Feb 2017, at 19:31, ZeroCool86@web.de wrote:
> 
> Hi guys,
> 
> is it possible to do a jcr:contains(.,"my value") Query and exclude one or more properties
from being searched for the current search?
> 
> Something like "search all possible properties but ignore property1 and property2".
> Or is it just possible in the other way explicit name the searched properties like "search
the term in property3 and property4"...
> 
> Thanks, have a nice weekend
> Michael


Mime
View raw message