Skip to content

Commit

Permalink
Update 1-intro.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
Meg528 authored Jun 10, 2024
1 parent 5b68f7c commit 01aa336
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/6-facet/1-intro.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 🦸 Intro to facets
# 🦸 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.
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.

A common use case is to use facets to create a filter. You can see this in most e-commerce sites. For example, you will see a list of categories on the left side of the page, and each category will have a number next to it. This number represents the number of products in that category.

Expand All @@ -22,4 +22,4 @@ A common use case is to use facets to create a filter. You can see this in most
}
}
}
```
```

0 comments on commit 01aa336

Please sign in to comment.