Last modified: 2013-10-10 12:39:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56652, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54652 - CirrusSearch doesn't index pages when they are first created (test2wiki)
CirrusSearch doesn't index pages when they are first created (test2wiki)
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Nik Everett
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-26 16:38 UTC by Nik Everett
Modified: 2013-10-10 12:39 UTC (History)
2 users (show)

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


Attachments

Description Nik Everett 2013-09-26 16:38:19 UTC
CirrusSearch doesn't index pages without any text.

I made a page who's contents was:
= '''zing!''' =

and CirrusSearch refused to pick it up.
Comment 1 Nik Everett 2013-09-26 16:40:41 UTC
Well, technically this isn't any text that isn't in a heading.  I'm not sure exactly what is up but this is quite reproducible.

Triaging to high just in case someone actually wants to search for pages without text in them.  I dunno why they would but wikis have lots of workflows I'm not aware of.
Comment 2 Nik Everett 2013-09-30 12:55:00 UTC
For posterity: this is reproducible on test2wiki but not on my development machine.
Comment 3 Nik Everett 2013-09-30 13:58:36 UTC
I think I've figured this one out.

SearchUpdate::doUpdate tries to fetch the page and if it doesn't get it then it decides that the update is in fact a delete.  OTOH I mostly see not fetching things from the database that I expect to be there as a symptom of MySQL slave lag.
Comment 4 Chad H. 2013-09-30 16:35:54 UTC
SearchUpdate shouldn't care what sort of content we have, as long as it can fetch the page object.
Comment 5 Nik Everett 2013-09-30 17:56:15 UTC
So, it doesn't care, but I happened to be testing with pages that just had a title.  I'm pretty sure that is a red herring - all pages seem to do it.  I just copied https://test2.wikipedia.org/wiki/Rashidun_Caliphate from enwiki and it did it.
Comment 6 Nik Everett 2013-10-01 14:06:21 UTC
Fix: https://gerrit.wikimedia.org/r/#/c/86704/
Comment 7 Nik Everett 2013-10-01 14:09:52 UTC
Merged.
Comment 8 Nik Everett 2013-10-10 12:39:27 UTC
Verified fixed on test2wiki.

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


Navigation
Links