Commit 2bf508e7c2d0e1e4af21c212d4b0c3975dfb1cff
1 parent
87774303
Exists in
master
and in
1 other branch
Updated conversions section [skip ci]
Showing
1 changed file
with
2 additions
and
10 deletions
Show diff stats
README.md
... | ... | @@ -654,9 +654,7 @@ The best starting point to improve your search **by far** is to track searches a |
654 | 654 | Product.search("apple", track: {user_id: current_user.id}) |
655 | 655 | ``` |
656 | 656 | |
657 | -[See the docs](https://github.com/ankane/searchjoy) for how to install and use. | |
658 | - | |
659 | -Focus on top searches with a low conversion rate. | |
657 | +[See the docs](https://github.com/ankane/searchjoy) for how to install and use. Focus on top searches with a low conversion rate. | |
660 | 658 | |
661 | 659 | Searchkick can then use the conversion data to learn what users are looking for. If a user searches for “ice cream” and adds Ben & Jerry’s Chunky Monkey to the cart (our conversion metric at Instacart), that item gets a little more weight for similar searches. This can make a huge difference on the quality of your search. |
662 | 660 | |
... | ... | @@ -679,13 +677,7 @@ class Product < ApplicationRecord |
679 | 677 | end |
680 | 678 | ``` |
681 | 679 | |
682 | -Reindex and set up a cron job to add new conversions daily. | |
683 | - | |
684 | -```sh | |
685 | -rake searchkick:reindex CLASS=Product | |
686 | -``` | |
687 | - | |
688 | -**Note:** For zero downtime deployment, temporarily set `conversions: false` in your search calls until the data is reindexed. | |
680 | +Reindex and set up a cron job to add new conversions daily. For zero downtime deployment, temporarily set `conversions: false` in your search calls until the data is reindexed. | |
689 | 681 | |
690 | 682 | For a more performant way to reindex conversion data, check out [performant conversions](#performant-conversions). |
691 | 683 | ... | ... |