Skip to content

Conversation

bidoubiwa
Copy link
Contributor

As per meilisearch/meilisearch#2214 new search parameters are introduced:

  • highlightPreTag
  • highlightPostTag
  • cropMarker

/// Limit length at which to crop specified attributes.
public let cropLength: Int?

/// Marker in front and behind a cropped value.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about: /// Marker that wraps a cropped value.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// Marker in front and behind a cropped value.
/// Marker that wraps a cropped value.

@bidoubiwa bidoubiwa requested a review from brunoocasali May 3, 2022 12:27
Copy link
Member

@brunoocasali brunoocasali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍗 Aweesome!

@bidoubiwa bidoubiwa merged commit 919c540 into bump-meilisearch-v0.27.0 May 4, 2022
@bidoubiwa bidoubiwa deleted the add_highlight_crop_params branch May 4, 2022 10:17
meili-bors bot added a commit that referenced this pull request May 5, 2022
294: Update version for the next release (v0.14.0) r=brunoocasali a=bidoubiwa

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.

## ⚠️ Breaking changes

* Feature/Tenant Token: Add a module which can generate tenant tokens (#273) `@brunoocasali`

## 🚀 Enhancements

* DRY up the shared models between tests (#274) `@brunoocasali`
* Feature/Add Qualified version (#276) `@brunoocasali`
* Feature/Analytics (#277) `@brunoocasali`
* Feature/Tenant Token: Add a module which can generate tenant tokens (#273) `@brunoocasali`
* Add new search parameters highlightPreTag, highlightPostTag and cropMarker #288

Thanks again to `@bidoubiwa,` `@brunoocasali,` `@curquiza!` 🎉


Co-authored-by: Charlotte Vermandel <[email protected]>
meili-bors bot added a commit that referenced this pull request May 9, 2022
291: Update version for the next release (v0.13.2) r=curquiza a=bidoubiwa

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

* Add new search parameters highlightPreTag, highlightPostTag and cropMarker (#288) `@bidoubiwa`
* Ensure nested fields support (#287)
 `@bidoubiwa`

Thanks again to `@bidoubiwa` 🎉


Co-authored-by: Bruno Casali <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants