At the moment we create indexes for CBD, tables, views and search documents every time we insert a new document into the relevant collections. this is both inefficient and leads to inconsistency.
We need to remove the code that is doing this from within each of the delegates and refactor that into a background resque job that can be scheduled to run as (in)frequently as needed
At the moment we create indexes for CBD, tables, views and search documents every time we insert a new document into the relevant collections. this is both inefficient and leads to inconsistency.
We need to remove the code that is doing this from within each of the delegates and refactor that into a background resque job that can be scheduled to run as (in)frequently as needed