Commit e8a97db5e4f469e0ebd7e9bc1c0dcbf71d7ccda3

Authored by Andrew Kane
1 parent 2b291f16

Updated readme [skip ci]

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
README.md
... ... @@ -1594,7 +1594,7 @@ add_column :products, :search_conversions, :jsonb
1594 1594  
1595 1595 For MySQL, use `:json`, and for others, use `:text` with a [JSON serializer](https://api.rubyonrails.org/classes/ActiveRecord/AttributeMethods/Serialization/ClassMethods.html).
1596 1596  
1597   -Next, update your model, Create a separate method for conversion data so you can use [partial reindexing](#partial-reindexing).
  1597 +Next, update your model. Create a separate method for conversion data so you can use [partial reindexing](#partial-reindexing).
1598 1598  
1599 1599 ```ruby
1600 1600 class Product < ApplicationRecord
... ... @@ -1616,7 +1616,7 @@ end
1616 1616  
1617 1617 Deploy and reindex your data. For zero downtime deployment, temporarily set `conversions: false` in your search calls until the data is reindexed.
1618 1618  
1619   -Create a job to update the conversions column and reindex records with new conversions.
  1619 +Create a job to update the conversions column and reindex records with new conversions. Here’s one you can use for Searchjoy:
1620 1620  
1621 1621 ```ruby
1622 1622 class ReindexConversionsJob < ApplicationJob
... ...