Commit 7dc20d4ff43d4c5add4f0a47f16972fab1b425ac
1 parent
aca87d0c
Exists in
master
and in
19 other branches
Updated readme [skip ci]
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
README.md
@@ -543,7 +543,7 @@ Reindex and set up a cron job to add new conversions daily. | @@ -543,7 +543,7 @@ Reindex and set up a cron job to add new conversions daily. | ||
543 | rake searchkick:reindex CLASS=Product | 543 | rake searchkick:reindex CLASS=Product |
544 | ``` | 544 | ``` |
545 | 545 | ||
546 | -**Note:** For a more performant (but slightly more advanced) approach, check out [performant conversions](#performant-conversions). | 546 | +**Note:** For a more performant (but more advanced) approach, check out [performant conversions](#performant-conversions). |
547 | 547 | ||
548 | ### Personalized Results | 548 | ### Personalized Results |
549 | 549 | ||
@@ -1160,7 +1160,7 @@ Business.search "ice cream", routing: params[:city_id] | @@ -1160,7 +1160,7 @@ Business.search "ice cream", routing: params[:city_id] | ||
1160 | 1160 | ||
1161 | ### Performant Conversions | 1161 | ### Performant Conversions |
1162 | 1162 | ||
1163 | -Split out conversions into a separate method so you can use partial reindexing, and cache conversions to prevent N+1 queries. | 1163 | +Split out conversions into a separate method so you can use partial reindexing, and cache conversions to prevent N+1 queries. Be sure to use a centralized cache store like Memcached or Redis. |
1164 | 1164 | ||
1165 | ```ruby | 1165 | ```ruby |
1166 | class Product < ActiveRecord::Base | 1166 | class Product < ActiveRecord::Base |