Commit b3631ccac5c02270cc910634b8d4ff71aa286c0d

Authored by Andrew Kane
1 parent ec12d95b

Updated readme [skip ci]

Showing 1 changed file with 8 additions and 4 deletions   Show diff stats
README.md
... ... @@ -523,7 +523,7 @@ For large data sets, try [parallel reindexing](#parallel-reindexing).
523 523  
524 524 - app starts
525 525  
526   -### Stay Synced
  526 +### Strategies
527 527  
528 528 There are four strategies for keeping the index synced with your database.
529 529  
... ... @@ -1180,6 +1180,10 @@ FactoryBot.create(:product, :some_trait, :reindex, some_attribute: "foo")
1180 1180  
1181 1181 Searchkick uses `ENV["ELASTICSEARCH_URL"]` for the Elasticsearch server. This defaults to `http://localhost:9200`.
1182 1182  
  1183 +- [Heroku](#heroku)
  1184 +- [Amazon Elasticsearch Service](#amazon-elasticsearch-service)
  1185 +- [Other](#other)
  1186 +
1183 1187 ### Heroku
1184 1188  
1185 1189 Choose an add-on: [Bonsai](https://elements.heroku.com/addons/bonsai), [SearchBox](https://elements.heroku.com/addons/searchbox), or [Elastic Cloud](https://elements.heroku.com/addons/foundelasticsearch).
... ... @@ -1220,7 +1224,7 @@ heroku config:set ELASTICSEARCH_URL=https://elastic:password@12345.us-east-1.aws
1220 1224 Then deploy and reindex:
1221 1225  
1222 1226 ```sh
1223   -heroku run rake searchkick:reindex CLASS=Product
  1227 +heroku run rake searchkick:reindex:all
1224 1228 ```
1225 1229  
1226 1230 ### Amazon Elasticsearch Service
... ... @@ -1250,7 +1254,7 @@ Searchkick.aws_credentials = {
1250 1254 Then deploy and reindex:
1251 1255  
1252 1256 ```sh
1253   -rake searchkick:reindex CLASS=Product
  1257 +rake searchkick:reindex:all
1254 1258 ```
1255 1259  
1256 1260 ### Other
... ... @@ -1264,7 +1268,7 @@ ENV["ELASTICSEARCH_URL"] = "https://user:password@host:port"
1264 1268 Then deploy and reindex:
1265 1269  
1266 1270 ```sh
1267   -rake searchkick:reindex CLASS=Product
  1271 +rake searchkick:reindex:all
1268 1272 ```
1269 1273  
1270 1274 ### Data Protection
... ...