WixSearchResult
The results of a site search, containing the retrieved documents. Learn more.
Guides
Additional information about this section
Properties
Store values associated with an object
- currentPage
Returns the index of the current results page number.
- documents
Returns the documents that match the search.
- facets
Returns the facet results retrieved by the search.
- length
Returns the number of documents in the current results page.
- pageSize
Returns the search page size.
- totalCount
Returns the total number of documents that match the search.
- totalPages
Returns the total number of pages the search produced.
Functions
Perform actions on an object
- hasNext( )
Indicates if the search has another page of results.
- hasPrev( )
Indicates if the search has a previous page of results.
- next( )
Retrieves the next page of search results.
- prev( )
Retrieves the previous page of search results.