Reputation: 952
In the tire gem's README, I see they propose two ways to import a model:
rake environment tire:import CLASS='Article'
rake environment tire:import CLASS='Article' FORCE=true
I can appreciate that the FORCE=true will delete the index before reindexing, but what is the benefit in doing so?
Upvotes: 4
Views: 896
Reputation: 14419
Deleting and recreating the index from scratch is useful mainly when you change the model mapping during development.
Upvotes: 4