In a search what does the filter `haskeywords` mea...
# suitescript
a
In a search what does the filter
haskeywords
mean? How is it different than contains?
Copy code
{ name: 'displayname', operator: 'haskeywords', values: [p.description] }
👀 6
s
contains searches within the whole text without considering separators. haskeywords gets the whole text and searches based on some regex, I can't remember exactly but some characters are considered as separator (e.g. space, comma, pipe, etc.)
for example text "this is my text to be searched" contains "search" but does not have keyword "search". it has keyword "searched"
👍🏼 1