File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
algoliasearch/src/main/java/com/algolia/model/search Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -69,10 +69,13 @@ public Consequence setFilterPromotes(Boolean filterPromotes) {
69
69
}
70
70
71
71
/**
72
- * Whether promoted records must match an active filter for the consequence to be applied. This
73
- * ensures that user actions (filtering the search) are given a higher precendence. For example,
74
- * if you promote a record with the `color: red` attribute, and the user filters the search for
75
- * `color: blue`, the \"red\" record won't be shown.
72
+ * Determines whether promoted records must also match active filters for the consequence to
73
+ * apply. This ensures user-applied filters take priority and irrelevant matches aren't shown. For
74
+ * example, if you promote a record with `color: red` but the user filters for `color: blue`, the
75
+ * \"red\" record won't be shown. > In the Algolia dashboard, when you use the **Pin an item**
76
+ * consequence, `filterPromotes` appears as the checkbox: **Pinned items must match active filters
77
+ * to be displayed.** For examples, see [Promote results with
78
+ * rules](https://www.algolia.com/doc/guides/managing-results/rules/merchandising-and-promoting/how-to/promote-hits/#promote-results-matching-active-filters).
76
79
*/
77
80
@ javax .annotation .Nullable
78
81
public Boolean getFilterPromotes () {
You can’t perform that action at this time.
0 commit comments