Skip to content

Commit

Permalink
fix typo in msearch guide (index -> indices) (#740)
Browse files Browse the repository at this point in the history
It causes "TypeError: client.index.refresh is not a function" when trying to run the sample codes in msearch.md.

Signed-off-by: Wei Sun <[email protected]>
  • Loading branch information
weisun10 authored Mar 26, 2024
1 parent d109838 commit de0dc1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/msearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ await client.bulk({
],
});

await client.index.refresh({ index: 'movies' });
await client.indices.refresh({ index: 'movies' });
```

# Multi Search API
Expand Down

0 comments on commit de0dc1d

Please sign in to comment.