Ladsgroup added a comment.
yeah, okay.TASK DETAILhttps://phabricator.wikimedia.org/T189779EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: LadsgroupCc: Jonas, Lucas_Werkmeister_WMDE, Aklapper, Lydia_Pintscher, gerritbot, Ladsgroup, Lahi, Gq86,
Lucas_Werkmeister_WMDE added a comment.
I’m not sure… to clear term_search_key and term_weight, I think it would make sense to iterate over the term_row_id, right? Whereas I assume rebuildTermSqlIndex iterates over entity IDs and then sets all term rows for that entity ID.TASK
Ladsgroup added a comment.
In T189779#4081528, @Lucas_Werkmeister_WMDE wrote:
rebuildTermSqlIndex.php is probably a lot more expensive than we need – to clear the term_search_key and term_weight columns, we shouldn’t need to load and parse entities. So perhaps some new, small maintenance script