Since 2.0.4 was released, it seems to be taking about 5 TIMES LONGER to rebuild the search tables! I'm wondering if other converter authors are experiencing this issue. The only real change I made to the code to rebuild the search tables in 2.0.4 was this:
Code: Select all
if ($phpbb_version < 204)
add_search_words($post_id, stripslashes($post_text), stripslashes($post_title));
add_search_words('global', $post_id, stripslashes($post_text), stripslashes($post_title));
I am pretty sure I have done this correctly. It looks like 2.0.4 fixed a bug with search_stopwords and added an index to one of the search tables, but neither of these explain why it is resulting in 5X the server load!!! I believe this is a significant server load issue that the phpbb developers need to be aware of, but I would like confirmation from other converter authors.