-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Improve and stabilize cropping and highlighting #2214
Comments
Pinging @meilisearch/integration-team and @meilisearch/docs-team. The spec is still a WIP, I will let you know when we'll have some updates. |
@meilisearch/integration-team and @meilisearch/docs-team: the smart crop is officially delayed to v0.28.0. All the other planned features are present. A new issue has been open to handle the smart crop planned in v0.28.0: #2299 |
Thanks for the information @curquiza 🥇 |
So cropping will keep its current behaviour: find the first occurrence of a search term and crop X amount of words starting from there, correct? |
Yes @guimachiavelli! :) the change of behavior will be for v0.28.0 |
291: Add new search parameters highlightPreTag, highlightPostTag and cropMarker r=alallema a=alallema As per meilisearch/meilisearch#2214 new search parameters are introduced: - `highlightPreTag` - `highlightPostTag` - `cropMarker` Co-authored-by: alallema <amelie@meilisearch.com> Co-authored-by: Amélie <alallema@users.noreply.github.com>
Here is the spec: meilisearch/specifications#120
More information is coming once the spec is stabilized.
Implementation
Pull requests
checklist
highlightPreTag
settings (Feat(Search): Enhance formating search results #2297)highlightPostTag
settings (Feat(Search): Enhance formating search results #2297)cropMarker
settings (Feat(Search): Enhance formating search results #2297)cropLength
count word instead of chars (Feat(Search): Enhance formating search results #2297)cropLength
0 is now considered as nocropLength
(Feat(Search): Enhance formating search results #2297)smart crop finding the best matches interval(postponed) milli#483The text was updated successfully, but these errors were encountered: