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

StatusSubtypeAssignedTask
Resolved Wikidata-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 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