Skip to content

Commit 8c670c9

Browse files
algolia-botgazconroyGary Conroyshortcuts
committed
fix(specs): Cross-reference filerPromotes to relevant guide (generated)
algolia/api-clients-automation#5279 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: gazconroy <[email protected]> Co-authored-by: Gary Conroy <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 48cc9fe commit 8c670c9

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/main/scala/algoliasearch/search/Consequence.scala

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)