When you execute a search with the find()
function, it returns a Promise that resolves to a WixSearchResult
object.
This object contains the documents that match the search, faceting and paging information,
and functions for paging through the search results.