find( )


Returns the documents that match the search.

The find() function returns a Promise that resolves to the results found by the search and some information about the results. The Promise is rejected if any of the functions used to refine the search are invalid.

If you build a search and don't refine it with any WixSearchBuilder functions, find() returns all matching site documents.

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<WixSearchResult>
Did this help?