Multiple search terms?

$w( ‘#dataset1’ ).setFilter(wixData.filter().contains( ‘tags’ , searchValue ));

Anybody know how to modify this to return multiple terms from a search bar?

I have tags data that I need to search through. This only returns perfect matches that exist within the tags. I need to be able to filter based on more than just one.

Any ideas?

Since the filter return WixDataQuery object, you can add further filtering in the chain , something like:
$w( ’ #dataset1 ’ ).setFilter(wixData.filter().contains( ‘tags’ , searchValue )
.eq(…)
.startsWith(…));
For more complicated filter logic, you can use and. Please refer to the following link:
https://www.wix.com/corvid/reference/wix-data.WixDataQuery.html#and