Hi @ all
How can I rebuild the index without blocking the whole app? Now I use in
the controller the Model.rebuild_index method. When I start this method,
the app is blocking at this time until the new index is built.
How can I automate the process to rebuild the index every day for
example? Can I use a cron-job and a rubyscript to do this?
thanks for helping!
K. R. wrote:
How can I automate the process to rebuild the index every day for
example? Can I use a cron-job and a rubyscript to do this?
thanks for helping!
i’ve done this sort of thing with a windows scheduled task (similar to a
cron job) that calls a batch file which executes a ruby program. guess
you would want to delete the index first and then do a find all on all
the records you wanted to reindex.