Schedule rebuild of smart index

Saul Sheehan asked on July 29, 2019 18:14

I have created a simple Smart search index locally (page crawler with simple analyser). When I manually trigger a rebuild, I'm able to find a page using a test keyword.. However, if I save the page with a new keyword, I don't see the change until I trigger the rebuild again. I can see several tasks listed under "Local tasks", but nothing happens when I click "process tasks". Is there a scheduled task somewhere else that I need to be running? I read elsewhere that it might be "Execute local search tasks" but that doesn't seem to have an effect.

Recent Answers


Roman Hutnyk answered on July 31, 2019 13:33

Yes, there is Execute search tasks scheduled task that checks if any of search indexes has to be rebuilt and initiates rebuild process if so.

There is also Optimize search indexes that you might want to run as well.

0 votesVote for this answer Mark as a Correct answer

Peter Mogilnitski answered on October 22, 2019 14:08

You don't need to rebuild(See documentation) The system automatically updates search indexes to reflect all changes made to the indexed content. Over time, these updates can make indexes less efficient, particularly in the case of large indexes. To restore optimal search performance for an index, defragment the index by clicking Optimize. You can enable the Optimize local search indexes scheduled task to have the system automatically optimize all smart search indexes once per week.

P.S. I think this task is not enabled by default.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.