(Solved) What is the easiest way to restore a Searchindex?
Fragment of a discussion from Project:Support desk
Search index is rebuilt with rebuildtextindex.php, you can also rebuild everything with rebuildall.php. Also, you need to decide what you use MySQL or SQLite. Regarding SQLite: we use its 3rd version, so command-line client is called sqlite3.
- Max: Thanks very much for the help! I now feel much more in control.
- rebuildtextindex.php is certainly fast enough for me, and it appears to have done the job perfectly!
- The SQL dump that restored those unindexed pages is 233 MiB.
- The script indexed those 1726 pages in about 40 seconds on a 3-year-old Athlon.
- Here are some more answers that may help others with similar problems.
- Manual: Maintenance scripts is a page that collects the scripts mentioned above, and most or all of the other maintenance scripts, sorts them into categories, and describes their purposes in various levels of detail. I found it from "What Links Here" applied to the above pages.
- I have been using openSuSE for about 15 years. Its current release, Version 11.4, appears to be suffering from lack of attention to detail. The MediaWiki installer warned of old libraries being linked to PHP (see Environment above), and one piece of confusion I encountered is that their default install put in the libsqlite3 libraries, but only the sqlite2 command-line application. The sqlite3 app is on the distribution DVD, but it was not installed by default.
- It may be time to move to another Linux distro. One thing I will miss if there is no equivalent, is the YaST2 Software Manager. I have tried several other distro live CDs, and do not see a comparable graphical software update tool.
- Any Linux distro recommendations for a MediaWiki host would be welcome.