MeiliSearch/meilisearch-http/src
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
..
analytics fix(http): fix panic when sending document update without content type header 2022-03-29 09:48:25 +02:00
extractors chore(auth): refactor token validation 2022-03-21 11:18:51 +01:00
helpers Export milli's heed from meilisearch-lib 2022-03-24 15:30:10 +01:00
routes Merge #2297 2022-04-07 13:29:56 +00:00
error.rs feat(auth): API keys 2021-12-06 09:52:41 +01:00
lib.rs chore(http): rename auto batching cli option 2022-03-07 15:19:19 +01:00
main.rs fix(rebranding): Update the ascii art (#2118) 2022-01-26 18:53:07 +01:00
option.rs Add instance options for RAM and CPU usage 2022-03-24 18:52:36 +00:00
task.rs chore: get rid of chrono in favor of time 2022-02-16 18:14:29 +01:00