meilisearch/meilisearch-lib
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
..
proptest-regressions feat(lib): auto-batching 2022-02-01 18:06:20 +01:00
src Merge #2297 2022-04-07 13:29:56 +00:00
Cargo.toml chore(lib): bump milli to 0.25.0 2022-04-06 15:03:10 +02:00