Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
大規模な移行を実行しており、デルタ インデックス作成を無効にして実行速度を大幅に向上させたいと考えています。
デルタ インデックス作成をオフにするようにタスクの最初に指定する方法はありますか?
2 つのオプション:
Model.suspended_delta do # all actions in the block don't fire a delta request end # A single delta request gets fired at the end
または、あなたの状況で何が良いかもしれません:
ThinkingSphinx.deltas_enabled = false
そして、終わったら元に戻しtrueます。
true