acts_as_indexed
acts_as_indexed copied to clipboard
Force reindex or flush index commands?
Is it possible to clear all the index data to reindex files, or somehow to force reindexing? The problem, why I need this, is described here: https://github.com/refinery/refinerycms-search/pull/64#issuecomment-234805600 If i just perform Model.all(&:save), it is looks like index is not updated for already indexed records (it is strange, but probably there is some mechanism which is checking if the data was actually updated, while I need to reindex all files without actually updating the data, but updating its encoding (.to_ascii))