Hello, I'm new to tikiwiki, and am in the process of setting up a new site. So far all is working well. However I found that the search function did not work on new pages until I'd log in as admin and click 'Refresh wiki search index now' in the admin - search. So I added these lines to tiki-editpage.php at line 759.
It seems to work, refreshing the search index every time a page is saved.
Does anyone see a problem with this hack? If so, is there a better solution?