chromeos.dev
chromeos.dev copied to clipboard
Determine how to provide related content for items from the CMS
trafficstars
Initial thoughts:
- MVP of this could be a
postbuildscript that runs our existing indexing code and spits back a search index that we then search against to provide related content. Keep everything else the same - Alternatively, we could add a specific "related content" field that's manually curated
- The 1st solution may not work in dev or staging
Ranked search from the Sanity API may be good enough here
Here's how to suggest relevant content based on category tags in a field... https://www.sanity.io/schemas/related-content-9079f69e