Can Query Builder search on multi-value property NOT containing a value? | Community
Skip to main content
Level 2
September 26, 2018
Solved

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

  • September 26, 2018
  • 11 replies
  • 7731 views

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.
Best answer by arunpatidar

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

11 replies

EricESAuthor
Level 2
September 28, 2018

Thanks for your help, Arun!