MeiliSearch/meilisearch-http
bors[bot] 013fe4cbc9
Merge #2297
2297: Feat(Search): Enhance formating search results r=ManyTheFish a=ManyTheFish

Add new settings and change crop_len behavior to count words instead of characters.

- [x] `highlightPreTag`
- [x] `highlightPostTag`
- [x] `cropMarker`
- [x] `cropLength` count word instead of chars
- [x] `cropLength` 0 is now considered as no `cropLength`
- [ ] ~smart crop finding the best matches interval~ (postponed)

Partially fixes  #2214. (no smart crop)


Co-authored-by: ManyTheFish <many@meilisearch.com>
2022-04-07 13:29:56 +00:00
..
src Merge #2297 2022-04-07 13:29:56 +00:00
tests Merge #2297 2022-04-07 13:29:56 +00:00
Cargo.toml Import milli from meilisearch-lib in meilisearch-http 2022-03-24 14:45:37 +01:00
build.rs chore(all): update actix-web dependency to 4.0.0-beta.21 2022-01-21 20:44:17 +00:00