add: request + response interface changes
This commit is contained in:
1 parent
24eecd2922
commit
9b6d0c7334
4 files changed
+19
-11
No files matched your search
@@ -39,7 +39,10 @@ class MeiliSearchService extends SearchService {
|
||||
}
|
||||
|
||||
search(indexName, query, options) {
|
||||
return this.client_.index(indexName).search(query, options)
|
||||
const { paginationOptions, filter, additionalOptions } = options
|
||||
return this.client_
|
||||
.index(indexName)
|
||||
.search(query, { filter, ...paginationOptions, ...additionalOptions })
|
||||
}
|
||||
|
||||
updateSettings(indexName, settings) {
|
||||
|
||||
Reference in new issue
Block a user