Hi,

Ard Schrijvers wrote:
Hello,

Hi guys,

I'm trying to search out an exact phrase, for instance "I want cookies", in a group of nodes but nodes that contain any of those words are being returned.

XPath : //webfmis:content[jcr:contains(@webfmis:body,"I want cookies")]

Yes, your "I want cookies" will be tokenized and OR-ed. You need to have
something like:

please note, the default operator is AND. from the spec:

"Terms separated by whitespace are implicitly ANDed together."

regards
 marcel

Reply via email to