Information on xpath query

Hi Team,

Can you please confirm if repository xpath query supports ‘starts-with’ and ‘ens-with’ function? I am trying “//*[starts-with(., ‘test’)]” and it is giving me “javax.jcr.query.InvalidQueryException: Unsupported function: starts-with”?


Can i get some help here?

jcr contains in combination with *<>

It is known to be less performant than the full text search with jcr:contains, but jcr:like is the equivalent operation to that. e.g, [jcr:like(@title, 'test%')].

Thank you so much. It worked.