We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf0d2e2 commit 1b5d0abCopy full SHA for 1b5d0ab
reference/api/documents.mdx
@@ -439,7 +439,7 @@ Use `context` to pass data to the `function` scope. By default a function only h
439
440
```sh
441
curl \
442
--X POST 'http://localhost:7700/indexes/INDEX_NAME/search' \
+-X POST 'http://localhost:7700/indexes/INDEX_NAME/documents/edit' \
443
-H 'Content-Type: application/json' \
444
--data-binary '{
445
"function": "doc.title = `${doc.title.to_upper()}`"
0 commit comments