📄️ 🦸 Intro to Facets
A facet is a way to group documents together based on a common value. For example, if you have a list of movies, you might want to group them by genre. You could then use the facet to filter the results to only show movies of a certain genre.
📄️ 🦸 Create an Index
To use faceting, you will need to create the appropriate index.
📄️ 🦸 Query with facets
Now that your index is in place, you can query using it.