-
Notifications
You must be signed in to change notification settings - Fork 17
Support "lang" parameter for Koncorde filters #575
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add an example in the existing snippet for document:search at least ?
To ensure it's working with search result next method but also to show the feature to users
|
|
||
| The search query to apply to API keys content, using [ElasticSearch Query DSL](https://www.elastic.co/guide/en/elasticsearch/reference/7.3/query-dsl.html) syntax. | ||
|
|
||
| <SinceBadge version="change-me"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <SinceBadge version="change-me"/> | |
| <SinceBadge version="auto-version"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other badges must be updated as well
Codecov Report
@@ Coverage Diff @@
## 7-dev #575 +/- ##
=======================================
Coverage 87.98% 87.98%
=======================================
Files 32 32
Lines 1456 1456
Branches 259 259
=======================================
Hits 1281 1281
Misses 125 125
Partials 50 50
Continue to review full report at Codecov.
|
| console.log(`Successfully deleted ${deleted.length} documents`); | ||
| } catch (error) { | ||
| console.error(error.message); | ||
| } No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing newline
| template: print-result-successes | ||
| expected: | ||
| - "{ _id: 'document_1', _version: 2, status: 200 }" | ||
| - "{ _id: 'document_2', _version: 2, status: 200 }" No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing newline
doc/7/controllers/auth/search-api-keys/snippets/search-api-keys-koncorde.js
Show resolved
Hide resolved
doc/7/controllers/auth/search-api-keys/snippets/search-api-keys-koncorde.js
Show resolved
Hide resolved
| searchApiKeys( | ||
| query: JSONObject = {}, | ||
| options: { from?: number, size?: number } = {} | ||
| options: { from?: number, size?: number, lang?: string } = {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing parameter documentation in the method description
Co-authored-by: Adrien Maret <amaret93@gmail.com>
…s-koncorde.js Co-authored-by: Adrien Maret <amaret93@gmail.com>
…s-koncorde.js Co-authored-by: Adrien Maret <amaret93@gmail.com>
Co-authored-by: Adrien Maret <amaret93@gmail.com>
Co-authored-by: Adrien Maret <amaret93@gmail.com>
Co-authored-by: Adrien Maret <amaret93@gmail.com>
Co-authored-by: Adrien Maret <amaret93@gmail.com>
Co-authored-by: Adrien Maret <amaret93@gmail.com>
Co-authored-by: Adrien Maret <amaret93@gmail.com>
Co-authored-by: Adrien Maret <amaret93@gmail.com>
Co-authored-by: Adrien Maret <amaret93@gmail.com>
# [7.4.8](https://github.com/kuzzleio/sdk-javascript/releases/tag/7.4.8) (2021-01-04) #### Bug fixes - [ [#573](#573) ] Fix types for Document and CollectionMappings ([Aschen](https://github.com/Aschen)) #### Enhancements - [ [#575](#575) ] Support "lang" parameter for Koncorde filters ([Yoann-Abbes](https://github.com/Yoann-Abbes)) - [ [#579](#579) ] Add event type to document notification ([Aschen](https://github.com/Aschen)) - [ [#578](#578) ] Convert bulk controller to TS ([Aschen](https://github.com/Aschen)) - [ [#574](#574) ] Adds a specific error when the request is too big to use the GET verb ([Aschen](https://github.com/Aschen)) ---
What does this PR do?
Since Kuzzle 2.8.0 supports the "lang" parameter to handle Koncorde filters, we need to add it in SDKs for the API methods who accept it.
#570
How should this be manually tested?
...
Other changes
Boyscout
Update ancient links