Closed dannymidnight closed 8 months ago
This is a slight variation on #52 by pulling the data from DatoCMS prior to indexing. Why do this? It's a little roundabout, but it's a quick way of inferring the parent -> child facets for testing out querying.
Now a search document contains the following:
{ name: "CI for Ruby", languges: ["Ruby"], use-cases: ["CI"], ... }
as opposed to:
{ name: "CI for Ruby", categories: ["Ruby", "CI"], ... }
Some alternatives to this approach:
categories
This is a slight variation on #52 by pulling the data from DatoCMS prior to indexing. Why do this? It's a little roundabout, but it's a quick way of inferring the parent -> child facets for testing out querying.
Now a search document contains the following:
as opposed to:
Some alternatives to this approach:
categories