Skip to content

Commit 6cbba4e

Browse files
committed
add warning to description
1 parent 4798b91 commit 6cbba4e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

specs/composition/paths/compositions/updateSortingStrategy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ post:
88
description: |
99
Updates the "sortingStrategy" field of an existing composition.
1010
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!
1215
1316
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.
1417
parameters:

0 commit comments

Comments
 (0)