In my application, I need each new record to be added to the index instantly (not after rake ts: index). If I understand this correctly, then delta indexing is what I'm looking for. So, I added a column deltato every table that I index using Sphinx, set a default value falseand added set_property :delta => trueto each block define_index; then ran rake ts: index and rake ts: restart. However, "instant" indexing does not work. When testing on the console, I create a new record, save it and try to search, but I won’t return it (after running rake ts: index it works fine). Am I something wrong here?
source
share