You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to populate the related resources for the page, we need to use the Swiftype Search API to fetch results for each guide page. We can use the search-research branch as a reference for the API call itself. We will need to ask Swiftype for search results on an interval. We can leverage GitHub actions to fetch the data on an interval. The results should write to a JSON file, which will be read by the resolvers for the new fields in the GraphQL schema (#589).
The params we send to Swiftype will be dependent on the decision made in #534.
jerelmiller
changed the title
Use the Swiftype Search API to populate results in the related resources section
Set up a GitHub action to sync related page content from Swiftype for each guide
Aug 12, 2020
@roadlittledawn mentioned that we should filter out the document_type of views_page_menu from docs and open source to give us better results. Lets make sure to do that here as well.
Description
In order to populate the related resources for the page, we need to use the Swiftype Search API to fetch results for each guide page. We can use the search-research branch as a reference for the API call itself. We will need to ask Swiftype for search results on an interval. We can leverage GitHub actions to fetch the data on an interval. The results should write to a JSON file, which will be read by the resolvers for the new fields in the GraphQL schema (#589).
The params we send to Swiftype will be dependent on the decision made in #534.
Helpful links
The text was updated successfully, but these errors were encountered: