Skip to content

Commit 2e36ddd

Browse files
authored
Update README.md
1 parent 09742d9 commit 2e36ddd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,13 @@ Performs multiple operations on an index.
5858

5959
```
6060
POST /:indexname/_update
61+
```
62+
63+
```json
6164
{
6265
"changes": [
6366
{"insert": {"id": 1, "hashes": [100, 200, 300]}},
64-
{"delete": {"id": 2},
67+
{"delete": {"id": 2}
6568
]
6669
}
6770
```
@@ -72,5 +75,8 @@ Searches for a fingerprint in the index.
7275

7376
```
7477
POST /:indexname/_search
78+
```
79+
80+
```json
7581
{"query": [100, 200, 300], "timeout": 10}
7682
```

0 commit comments

Comments
 (0)