Page MenuHomePhabricator

Wikidata Elastic search ignores limit
Closed, ResolvedPublic

Description

Due to mistake in the code, Elastic search for Wikidata now always returns 10 entries, regardless of limit asked. Check URL:

https://www.wikidata.org/w/api.php?action=wbsearchentities&search=moz&format=json&limit=2&type=item&language=en&useCirrus=1&cirrusDumpResult=1

Related Objects

StatusAssignedTask
ResolvedWikidata-bugs
OpenNone
Resolvedaude
ResolvedSmalyshev
Resolvedaude
ResolvedNone
InvalidNone
ResolvedSmalyshev
ResolvedLydia_Pintscher
DuplicateSmalyshev
DuplicateNone
DeclinedNone
DeclinedNone
Resolveddaniel
ResolvedLydia_Pintscher
OpenNone
DeclinedNone
ResolvedSmalyshev
ResolvedSmalyshev
DeclinedNone
ResolvedSmalyshev
Resolveddcausse
Resolveddcausse
ResolvedSmalyshev
ResolvedSmalyshev
ResolvedSmalyshev
ResolvedSmalyshev
ResolvedSmalyshev
Resolveddcausse

Event Timeline

Restricted Application edited projects, added Discovery-Search; removed Discovery-Search (Current work). · View Herald TranscriptJul 24 2017, 11:35 PM
Restricted Application added a subscriber: PokestarFan. · View Herald Transcript

Change 367630 had a related patch set uploaded (by Smalyshev; owner: Smalyshev):
[mediawiki/extensions/CirrusSearch@master] Make limit/offset available to extending classes

https://gerrit.wikimedia.org/r/367630

Change 367631 had a related patch set uploaded (by Smalyshev; owner: Smalyshev):
[mediawiki/extensions/Wikibase@master] Properly set search limit

https://gerrit.wikimedia.org/r/367631

Change 367630 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@master] Make limit/offset available to extending classes

https://gerrit.wikimedia.org/r/367630

Change 367631 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Properly set search limit

https://gerrit.wikimedia.org/r/367631

Smalyshev closed this task as Resolved.Jul 26 2017, 6:45 PM