I have a property on the node which is stored as array of strings. But when I use this field to find the node, it's not returning any results. What am I doing wrong?
Below is the node:
MATCH (n:Product)
WHERE
n.id_product = 8
RETURN
n.keyterms
Result
["financial tool", "personal finance"]
I am trying to find the same node as above using the keyterms field:
MATCH (n:Product)
WHERE
["financial tool"] in n.keyterms
RETURN
n.keyterms
no records
You don't have to put
"financial tool"
, in an array, simply try this:To search for, multiple values, you can do the following: