Commit b0fe4ceddfbcb786f053b2ae324451aaaf58b341

Authored by Andrew Kane
1 parent d59ffb4b

Added note about synonyms

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
@@ -10,6 +10,7 @@ Searchkick provides sensible search defaults out of the box. It handles: @@ -10,6 +10,7 @@ Searchkick provides sensible search defaults out of the box. It handles:
10 - special characters - `jalapenos` matches `jalapeños` 10 - special characters - `jalapenos` matches `jalapeños`
11 - extra whitespace - `dishwasher` matches `dish washer` 11 - extra whitespace - `dishwasher` matches `dish washer`
12 - misspellings - `zuchini` matches `zucchini` 12 - misspellings - `zuchini` matches `zucchini`
  13 +- custom synonyms - `qtip` matches `cotton swab`
13 14
14 Simply use the `searchkick` analyzer. 15 Simply use the `searchkick` analyzer.
15 16
@@ -36,6 +37,8 @@ Book.search do @@ -36,6 +37,8 @@ Book.search do
36 end 37 end
37 ``` 38 ```
38 39
  40 +**Note:** We recommend reindexing when changing synonyms for best results.
  41 +
39 ### Make Searches Better Over Time 42 ### Make Searches Better Over Time
40 43
41 Use analytics on search conversions to improve results. 44 Use analytics on search conversions to improve results.