You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .changeset/fresh-tables-clap.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,12 @@
11
11
Currently, for each `facet value` selected in a different `facet` a separate request is made to Meilisearch. Plus, an additional one containing all the facets filters. It results in tedious search requests and a high bandwidth cost.
12
12
For example, if I select `Adventure` on genres and `Multiplayer` on players, one request is made with both facet filters, one with only `genres=Adventure` and one with only `players=Multiplayer`
13
13
14
-
In the next release of Meilisearch, the `multi-index`route should be released (see [PR](https://github.com/meilisearch/meilisearch/pull/3417)). When it is released, the work-around will be removed and only one request will be done in all cases!
14
+
In the next release of Meilisearch, a new `multi-search` API route is planned to be released (see [PR](https://github.com/meilisearch/meilisearch/pull/3417)). When it is released, the work-around will be removed and only one HTTP request will be done in all cases!
15
15
16
16
17
-
## Explaination
17
+
## Explanation
18
18
19
-
The way the `facet distribution` is calculated changed. The `facet distribution` shows the numbers of hits for each facet. For example:
19
+
The way the `facetDistribution` is calculated changed. The `facetDistribution` shows the numbers of hits for each facet. For example:
20
20
21
21
Given the following facet:
22
22
@@ -25,7 +25,7 @@ Genres
25
25
- [ ] Adventure 7
26
26
```
27
27
28
-
The `facet distribution` provides the information that there are 7 hits containing the adventure genre.
28
+
The `facetDistribution` provides the information that there are `7` hits containing the adventure genre.
29
29
30
30
For the example, let's take the following facets:
31
31
@@ -50,7 +50,7 @@ Players
50
50
- [ ] Single player 3
51
51
```
52
52
53
-
In the new behavior the distribution number are not changed when facet values are selected inside the same facet.
53
+
With the new behavior, the distributed number are not changed when facet values are selected inside the same facet because a facet distribution is computed with a dedicated search request.
54
54
55
55
```
56
56
Genres
@@ -74,4 +74,4 @@ Players
74
74
75
75
This is the conventional way of calculating the facet distribution. Similar to Algolia's behavior. If you prefer the old behavior, please consider opening an issue.
76
76
77
-
See [complete explaination here](https://github.com/meilisearch/instant-meilisearch/issues/884)
77
+
See [complete explanation here](https://github.com/meilisearch/instant-meilisearch/issues/884)
Copy file name to clipboardExpand all lines: .changeset/rich-wasps-tell.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,4 +8,4 @@
8
8
9
9
Currently, for each index a request is made on, a separated request is made to Meilisearch. For example, if you have two indexes on which to search, two http requests are made.
10
10
11
-
In the next release of Meilisearch, the `multi-index`route should be released (see [PR](https://github.com/meilisearch/meilisearch/pull/3417)). When it is released, the work-around will be removed and only one request will be done in all cases!
11
+
In the next release of Meilisearch, a new `multi-search` API route is planned to be released (see [PR](https://github.com/meilisearch/meilisearch/pull/3417)). When it is released, the work-around will be removed and only one HTTP request will be done in all cases!
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -676,7 +676,7 @@ The `refinementList` widget is one of the most common widgets you can find in a
676
676
- ✅ cssClasses: The CSS classes to override.
677
677
678
678
The `RefinementList` widget uses the `disjunctive facet search` principle when using the `or` operator. For each different facet category used, an additional http call is made.
679
-
For example, if I ask for `color=green` and `size=2`, three http requests are made. One for the hits, one for the `color` distribution and one for the `size` distribution. To provide any feedback on the subject, refer to [this discussion](https://github.com/meilisearch/product/issues/54).
679
+
For example, if I ask for `color=green` and `size=2`, three http requests are made. One for the hits, one for the `color`facet distribution, and one for the `size`facet distribution. To provide feedback on the subject, refer to [this discussion](https://github.com/meilisearch/product/issues/54).
680
680
681
681
The following example will create a UI component with the a list of genres on which you will be able to facet.
0 commit comments