File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/main/scala/algoliasearch/search Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,12 @@ package algoliasearch.search
4040 * Records you want to pin to a specific position in the search results. You can promote up to 300 records, either
4141 * individually, or as groups of up to 100 records each.
4242 * @param filterPromotes
43- * Whether promoted records must match an active filter for the consequence to be applied. This ensures that user
44- * actions (filtering the search) are given a higher precendence. For example, if you promote a record with the
45- * `color: red` attribute, and the user filters the search for `color: blue`, the \"red\" record won't be shown.
43+ * Determines whether promoted records must also match active filters for the consequence to apply. This ensures
44+ * user-applied filters take priority and irrelevant matches aren't shown. For example, if you promote a record with
45+ * `color: red` but the user filters for `color: blue`, the \"red\" record won't be shown. > In the Algolia
46+ * dashboard, when you use the **Pin an item** consequence, `filterPromotes` appears as the checkbox: **Pinned items
47+ * must match active filters to be displayed.** For examples, see [Promote results with
48+ * rules](https://www.algolia.com/doc/guides/managing-results/rules/merchandising-and-promoting/how-to/promote-hits/#promote-results-matching-active-filters).
4649 * @param hide
4750 * Records you want to hide from the search results.
4851 * @param userData
You can’t perform that action at this time.
0 commit comments