Search Issue on Stores/Products Collection

Hi, I’m sorry I’m asking this :confused: I did check many posts, the API documentation and some of your online examples but I still can’t get my search to work on product descriptions for my repeater.

I understand I can’t use the wix data “query” or “setFilter” feature because store’s product description is a rich text type column. But then I saw that there was the “wix-search” builder I could use.
So I tried the following:
wixSearch.search(mysearch)
.documentType( “Stores/Products” )
.find()
.then((results) => {
if (results.documents.length > 0 ) {
$w( ‘#repeater1’ ).data = results.documents;
console.log(results.documents);
}})

But I get the following error : “Wix code SDK error: App with appDefinitionId 1484cb44-49cd-5b39-9681-75188ab429de does not exist on the site”

Is it because I’m receiving ‘documents’ instead of ‘item’ ?

Would love a little help here :cold_sweat: even a rough guidance would be appreciated !
Many thanks

Hello.

As you can see from our guide here , the description field can be filtered with the following options: eq, ne, hasSome, contains, startsWith

Therefore, it’s better to use query rather than wixSearch approach.

Good luck!