I'm trying to implement pagination using site-search api on my gatsby website, can you please share me the demo repo for the same like you have it for app-search: GitHub - swiftype/app-search-demo-react: A simple React application demonstrating Swiftype App Search integration
It's great to hear that you are using Site Search for your Gatsby site, I think these two technologies pair well together.
I do not have a React demo using Site Search, but the approach would be mostly the same. Paging parameters are just passed slightly differently to the API: https://swiftype.com/documentation/site-search/searching/pagination.
I would however, like to point out a new project we've been working on, which provides pre-built React components that will work with Site Search: https://github.com/elastic/search-ui.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.