Skip to main content
Level 2
Sep 26, 2018 1:05 PM UTC
Solved

Can Query Builder search on multi-value property NOT containing a value?

Is there a way to use Query Builder to find a multi-value property that does NOT containt a particular value?

For instance, we have a "language" property that is a multi-value String. Can Query Builder find a node where the language property does not contain 'en' (English)?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
Community Advisor
Sep 26, 2018 4:51 PM UTC

Hi,

You got confused between 'exists' and 'not'

property.operation :

“equals” for exact match (default),

“unequals” for unequality comparison,

“like” for using the jcr:like xpath function ,

“not” for no match ,

“exists” for existence match

Arun Patidar

11 replies

EricESAuthor
Level 2
Sep 28, 2018 1:36 PM UTC

Thanks for your help, Arun!

Translate