Commit 05ddfb457782536347a1b21b0f2893a7ff0488cc
1 parent
0ed9afe6
Exists in
master
and in
21 other branches
Updated readme
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
README.md
... | ... | @@ -303,13 +303,13 @@ You can change this with: |
303 | 303 | Product.search "zucini", misspellings: {edit_distance: 2} # zucchini |
304 | 304 | ``` |
305 | 305 | |
306 | -To improve performance for correctly spelled queries (which should be a majority for most applications), Searchkick can first perform a search without misspellings, and if there are few results, perform another with them. | |
306 | +To improve performance for correctly spelled queries (which should be a majority for most applications), Searchkick can first perform a search without misspellings, and if there are too few results, perform another with them. | |
307 | 307 | |
308 | 308 | ```ruby |
309 | 309 | Product.search "zuchini", misspellings: {below: 5} |
310 | 310 | ``` |
311 | 311 | |
312 | -If there are fewer than 5 results, a 2nd search is performed for misspellings. | |
312 | +If there are fewer than 5 results, a 2nd search is performed with misspellings enabled. The result of this query is returned. | |
313 | 313 | |
314 | 314 | Turn off misspellings with: |
315 | 315 | ... | ... |