@tomer-wix Thank you so much. I added your code and now want to SEE what the results are (or simply dump it into my table. I presume “query” is now an object that contains the rows I can subsequently address (or put in a table). Is there a way to simply show the results-obviously “query.items” is wrong!
let searchValue = $w(‘#input2’).value
let searchWords = searchValue.split(’ ');
let query = wixData.query(‘teachingfiles’);
searchWords.forEach(s => query = query.contains(‘comment’, s))
console.log("Query resut is " + query.items);