Skip to content

Commit 7071939

Browse files
committed
Change search usage in readme
1 parent 02502a3 commit 7071939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ If you want to know more about the development workflow or want to contribute, p
312312

313313
- Make a search request:
314314

315-
`client.getIndex<T>('xxx').search(query: string, options?: SearchParams): Promise<SearchResponse<T>>`
315+
`client.getIndex<T>('xxx').search(query: string, options: SearchParams = {}, method: 'POST' | 'GET' = 'POST'): Promise<SearchResponse<T>>`
316316

317317
### Indexes <!-- omit in toc -->
318318

0 commit comments

Comments
 (0)