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
A list that holds the functions to be applied to eatch value on redis, corresponding to the `key_prefixes`.
91
+
92
+
In the example we have **"null"** linked to `"mystore-"` and **"pow(_, 2)"** linked to `"gympass-"`, what does this mean?
93
+
94
+
Well **"null"** is the default value, so the `"mystore-"` field will return its normal value without any modification. On the other hand we have the `"gympass-"` field that is beeing afected by the **pow(_,2)** function, in this case the plugin will take the value stored in the redis data base with key `gympass-{productId.keyword}` and a apply it to the function given, where the arg `"_"` is.
95
+
96
+
In this case lets imagine that the stored value is *3*, so the rescore for that field will be `pow(3,2)` = **9**.
97
+
98
+
It's important to note that the `score_functions` field, just like the `score_weights`, uses indexes to work.
99
+
85
100
86
101
<br/>
87
102
<br/>
@@ -96,6 +111,11 @@ The only field that is **required** for the plugin to run is the `key_field`, al
0 commit comments