jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Callan" <seancal...@gmail.com>
Subject jcr:contains and full text searching.
Date Thu, 07 Feb 2008 15:32:29 GMT
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")]

The above xpath should return one node, it however, returns 2, the second
node contains the word "cookies".

Is there a better way to search for an exact string in binary files and
nodes?

Thanks,
Sean

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message