[HOME PAGE] [STORES] [CLASSICISTRANIERI.COM] [FOTO] [YOUTUBE CHANNEL]


Bug 8555 – Imported XML not searchable

Last modified: 2012-07-24 08:34:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 8555 - Imported XML not searchable
Imported XML not searchable
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.6.x
PC Windows 2000
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-09 19:34 UTC by Stephan Ahonen
Modified: 2012-07-24 08:34 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Stephan Ahonen 2007-01-09 19:34:00 UTC
To move content from an old wiki to a new one, I performed an XML export from
the old wiki and imported it into the new one. Attempting to search for the
pages I had imported turned up nothing, even though they were accessible
normally. Diving into the database I determined that the XML import had put the
content into the page table, but not the searchindex table which the wiki uses
for searches. Going to each page and making a minor edit would put the page into
the index and make it searchable.
Comment 1 Antoine "hashar" Musso (WMF) 2007-01-09 19:41:28 UTC
Use the maintenance script updateSearchIndex.php .

Something like:

php maintenance/updateSearchIndex.php -s 200701091800000000
Comment 2 Rob Church 2007-01-09 20:13:38 UTC
For the import script, users need to run the search index rebuild scripts after
importing. For regular Special:Import, the issue should be fixed in a newer release.
Comment 3 Stephan Ahonen 2007-01-09 20:39:10 UTC
I ran the script a few different ways, even trying -s 20060101000000, but the
pages still aren't being indexed. Is there anywhere I can RTFM on this? The
searchindex table only has three rows in it, Current Events, Main Page, and the
page I touched to make the wiki index it.

Looking in the maintenance dir I found rebuildtextindex.php. THe source looks
like it would do the trick, but it doesn't include the variables containing the
db connection info. Time to do some PHP hacking I guess.
Comment 4 Anon Sricharoenchai 2009-12-09 09:19:07 UTC
(In reply to comment #2)
> For the import script, users need to run the search index rebuild scripts after
> importing. For regular Special:Import, the issue should be fixed in a newer release.

Which revision that it is fixed?
Comment 5 Anon Sricharoenchai 2009-12-11 07:01:57 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > For the import script, users need to run the search index rebuild scripts after
> > importing. For regular Special:Import, the issue should be fixed in a newer release.
> 
> Which revision that it is fixed?
> 

http://svn.wikimedia.org/viewvc/mediawiki/trunk/?view=log&log_pagestart=37700 <-- as I found no revision mention about this bug, I then reopen the bug.
Comment 6 Anon Sricharoenchai 2009-12-11 07:11:13 UTC
http://svn.wikimedia.org/viewvc/mediawiki/trunk/?view=log&pathrev=19034 <-- as I found no revision mention about this bug, I then reopen the bug.
Comment 7 matanya 2012-07-24 08:34:36 UTC
Tested on my MW installation (1.19) works just fine.

Note You need to log in before you can comment on or make changes to this bug.


Contents Listing Alphabetical by Author:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Unknown Other

Contents Listing Alphabetical by Title:
# A B C D E F G H I J K L M N O P Q R S T U V W Y Z Other

Medical Encyclopedia

Browse by first letter of topic:


A-Ag Ah-Ap Aq-Az B-Bk Bl-Bz C-Cg Ch-Co
Cp-Cz D-Di Dj-Dz E-Ep Eq-Ez F G
H-Hf Hg-Hz I-In Io-Iz J K L-Ln
Lo-Lz M-Mf Mg-Mz N O P-Pl Pm-Pz
Q R S-Sh Si-Sp Sq-Sz T-Tn To-Tz
U V W X Y Z 0-9

Biblioteca - SPANISH

Biblioteca Solidaria - SPANISH

Bugzilla

Ebooks Gratuits

Encyclopaedia Britannica 1911 - PDF

Project Gutenberg: DVD-ROM 2007

Project Gutenberg ENGLISH Selection

Project Gutenberg SPANISH Selection

Standard E-books

Wikipedia Articles Indexes

Wikipedia for Schools - ENGLISH

Wikipedia for Schools - FRENCH

Wikipedia for Schools - SPANISH

Wikipedia for Schools - PORTUGUESE

Wikipedia 2016 - FRENCH

Wikipedia HTML - CATALAN

Wikipedia Picture of the Year 2006

Wikipedia Picture of the Year 2007

Wikipedia Picture of the Year 2008

Wikipedia Picture of the Year 2009

Wikipedia Picture of the Year 2010

Wikipedia Picture of the Year 2011