Skip to content

Commit 6fdb452

Browse files
Apply suggestions from code review
Co-authored-by: Tommy <[email protected]>
1 parent d90113d commit 6fdb452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/api/search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ Instead of supplying individual attributes, you can provide `["*"]` as a wildcar
464464

465465
Suppose you have a field containing the following string: `Donatello is a skilled and smart turtle. Leonardo is the most skilled turtle. Raphael is the strongest turtle.`
466466

467-
Meilisearch respects sentence boundaries when cropping. For example, if your search term is `Leonardo` and your `cropLength` is 6, Meilisearch will prioritize keeping the sentence together and return: `Leonardo is the most skilled turtle.`
467+
Meilisearch tries to respect sentence boundaries when cropping. For example, if your search term is `Leonardo` and your `cropLength` is 6, Meilisearch will prioritize keeping the sentence together and return: `Leonardo is the most skilled turtle.`
468468

469469
If a query contains only a single search term, Meilisearch crops around the first occurrence of that term. If you search for `turtle` and your `cropLength` is 7, Meilisearch will return the first instance of that word: `Donatello is a skilled and smart turtle.`
470470

0 commit comments

Comments
 (0)