-
Notifications
You must be signed in to change notification settings - Fork 48
Add new search parameters highlightPreTag, highlightPostTag and cropMarker #319
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.
- Why not do the test in the ruby-friendly way, I mean with snake case instead of camel case? 😇
- Also, it's not clear in the PR description the parameter are supported by default by the package and only tests are added in this PR. I suppose you put the
enhancementlabel to let the user understand this new release is compatible withcropMarker... but we have to be clear regarding the PR, otherwise it could be confused if the user goes to the PR.
db5df23 to
6904b51
Compare
21ea0c0 to
70d972f
Compare
70d972f to
635d96c
Compare
Yeah, I have run out of hair because of it, but for now, is ok to keep it because is consistent with the other tests present in this file. In any case, I'll open an issue about it! |
|
Issue about camel casing is open #320 |
|
@curquiza and @bidoubiwa I'll merge it, but feel free to make comments! |
323: Update version for the next release (v0.18.3) r=curquiza a=brunoocasali This version makes this package compatible with Meilisearch v0.27.0 🎉 Check out the changelog of [Meilisearch v0.27.0](https://github.com/meilisearch/meilisearch/releases/tag/v0.27.0) for more information on the changes. ## 🚀 Enhancements * Ensure nested field support (#318) `@brunoocasali` * Add `highlightPreTag`, `highlightPostTag`, `cropMarker`, parameters in the search request (#319) `@brunoocasali` * Create a helper module to reduce test duplication (#316) `@brunoocasali` ## 🐛 Bug Fixes * Improve error handling, rescue EPIPE and Net::* errors (#307) `@brunoocasali` Thanks again to `@brunoocasali!` 🎉 Co-authored-by: Bruno Casali <brunoocasali@gmail.com>
As per meilisearch/meilisearch#2214 new search parameters are introduced:
highlightPreTaghighlightPostTagcropMarkerThis PR adds tests to ensure the new parameters are working.