Last modified: 2014-09-23 20:16:11 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 T73098, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71098 - Search using insource and regex returns irregular and different set of articles each time
Search using insource and regex returns irregular and different set of articl...
Status: ASSIGNED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nik Everett
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-21 03:37 UTC by SpontaneousGrumbler
Modified: 2014-09-23 20:16 UTC (History)
3 users (show)

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


Attachments

Description SpontaneousGrumbler 2014-09-21 03:37:56 UTC
On repeat runs of https://en.wikipedia.org/w/index.php?title=Special:Search&redirs=0&limit=500&offset=0&profile=default&srbackend=CirrusSearch&search=insource%3A%22publicly-%22insource%3A/publicly-/ a few minutes apart, different numbers and selections of articles are returned. I had 79, 119, 83, 85, 82 and 84 articles returned over a couple of hours. These are not just the same list truncated at different points; the list of 119 had 45 articles not in the list of 79, but the list of 79 had 5 articles not in the list of 119.
Comment 1 SpontaneousGrumbler 2014-09-23 20:04:31 UTC
Today I'm getting "An error has occurred while searching: We could not complete your search due to a temporary problem. Please try again later." every time. At least some consistency has been achieved.
Comment 2 Nik Everett 2014-09-23 20:10:56 UTC
Yay?  I've started work to speed it up by a pretty wide margin which should improve matters.  It isn't going to change overnight though.
Comment 3 Nik Everett 2014-09-23 20:16:11 UTC
The error you are seeing is that the queue for new regex queries is full and it won't let you add another.  I have a error messaging change in the pipeline that'll make that make more sense but I can't rush it through because if I did it'd go out untranslated.

The trouble with the regex queries is that there is only one line and some of them are fast because they have other filters but some are slow and the fast ones get behind the slow ones in line.  That's why making them faster will help with the error messages.

The inconsistency is likely also caused by partial timeouts.  In other words the search backend decides that it has spent long enough on the regex and just gives what it has so far.  It won't have to do that if I'm able to speed up regexes though.

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


Navigation
Links