Search Function

HI I made this search but nothing happened, any clue whit doesn’t work the filter?

// For full API documentation, including code examples, visit Velo API Reference - Wix.com
import wixData from “wix-data”;
let lastSearch;
$w.onReady( function () {
//TODO: write your page related code here…
});
// filter handler for repeater
function filterResults(search)
{
if (lastSearch !== search)
{
let newFilter = wixData.filter();
if (search)
newFilter = newFilter.contains(‘teudatZeut’,search)
$w(‘#dataset1’).setFilter(newFilter);
}
lastSearch = search;
}
export function input1_keyPress(event) {
let debounceTimer;
if (debounceTimer)
{
clearTimeout(debounceTimer);
debounceTimer = undefined;
}
debounceTimer = setTimeout(() => {
filterResults($w(‘#input1’).value, lastSearch); }, 1000);
}

Filtering a repeater has been asked before, search the forum for previous posts like these.
https://www.wix.com/corvid/forum/community-discussion/equal-to-or-more-than
https://www.wix.com/corvid/forum/community-discussion/wix-data-filter-with-repeater

Or look at the examples from Wix.
https://www.wix.com/corvid/example/search-a-database
Corvid by Wix | How to Create a Search for Your Database (Video)

Or look at these examples from Vorbly.
https://www.vorbly.com/Vorbly-Code/WIX-REPEATER-WITH-MULTIPLE-FILTERS
https://www.vorbly.com/Vorbly-Code/WIX-REPEATER-WITH-FILTER-BUTTONS

Or see this video about it too.
How to Filter Items on Repeater Using a Dropdown and Boolean Values on Wix Code

thanks I will try