MeiliSearch/meilisearch-lib/src/index
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
..
dump.rs chore(all): bump milli 2022-03-16 16:34:44 +01:00
error.rs chore(all): bump milli 2022-03-16 16:34:44 +01:00
index.rs feat(http, lib): enable disable typos on attributes 2022-04-06 19:25:12 +02:00
mod.rs Feat(Search): Enhance formating search results 2022-04-07 15:04:08 +02:00
search.rs Feat(Search): Enhance formating search results 2022-04-07 15:04:08 +02:00
updates.rs feat(http, lib): enable disable typos on attributes 2022-04-06 19:25:12 +02:00