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: specs/composition/paths/compositions/updateSortingStrategy.yml
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,10 @@ post:
8
8
description: |
9
9
Updates the "sortingStrategy" field of an existing composition.
10
10
This endpoint allows you to create a new sorting strategy mapping or replace the currently configured one.
11
-
The provided sorting indices must be associated indices or replicas of the main targeted index.
11
+
The provided sorting indices MUST be associated indices or replicas of the main targeted index.
12
+
13
+
WARNING: This endpoint cannot validate if the sort index is related to the composition's main index.
14
+
Validation will fail at runtime if the index you updated is not related!
12
15
13
16
The update is applied to the specified composition within the current Algolia application and returns a taskID that can be used to track the operation’s completion.
0 commit comments