Skip to content

Commit

Permalink
Merge pull request #49 from Meg528/patch-22
Browse files Browse the repository at this point in the history
Update 1-intro.mdx
  • Loading branch information
sis0k0 authored Sep 18, 2024
2 parents d4736a2 + 01aa336 commit 040dcb6
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 040dcb6

Please sign in to comment.