https://bugzilla.wikimedia.org/show_bug.cgi?id=46378

--- Comment #6 from Daniel Kinzler <[email protected]> ---
Great! So, here's what needs to happen:

1) run rebuildTermSearchKey.php. It will log a line after each batch, e.g.:

  Updated 500 search keys, up to row 20999.

Should the script die or be stopped for some reason, it can be restarted from
the row it left off, using --start-row 20999. The batch size can be tuned using
--batch-size.

When the script is done, mark the last row it reported (we'll need it later!)

2) tell the wiki to start using the index, with
$wgWBRepoSettings['withoutTermSearchKey'] = false; (or rather, by removing the
line from the config that forces this to true).

3) re-run rebuildTermSearchKey.php from the row it finished at, to cover items
that have been added/modified between the time the script finished and the time
the settings were changed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to