I have a rake task RAILS_ENV=production rake ts:index
, which is executed every 3 hours by Cron, but nothing changes. When I call same query in the command line, nothing happened. And only when I call RAILS_ENV=production rake ts:rebuild
, changes is applied. But why? Documentation said that ts:rebuild should be called if table structure is changed. But when only data rows is added, should be called ts:index. What could be wrong with it?
问问题
301 次