Page MenuHomePhabricator

Support cirrusDumpQuery and other debug options in WB REST search endpoints
Closed, ResolvedPublic5 Estimated Story Points

Description

e.g. https://www.wikidata.org/w/index.php?search=potato&title=Special%3ASearch&profile=advanced&fulltext=1&ns0=1&ns120=1&cirrusDumpQuery

List of available Cirrus Search debug options can be discovered in its source code: https://gerrit.wikimedia.org/g/mediawiki/extensions/CirrusSearch/+/8cfe27d74891cc76942029ed646ffe6b59957116/includes/CirrusDebugOptions.php#57

Cirrus Search debug options should be activated in the request, and the response should follow the logic of the debug options. In particular, at least some of those options lead to not returning search results but responding with the debug information.
No particular definition for the request and response structure is defined at this stage.

Further info: https://www.mediawiki.org/wiki/Extension:CirrusSearch#API

Event Timeline

WMDE-leszek renamed this task from Support cirrusDumpQuery and friends in WB REST search endpoints to Support cirrusDumpQuery and other debug options in WB REST search endpoints.Jun 19 2025, 10:13 AM
WMDE-leszek set the point value for this task to 5.
WMDE-leszek moved this task from Polished to Ready for planning on the Wikibase Reuse Team board.
WMDE-leszek subscribed.

Change #1176648 had a related patch set uploaded (by Itamar Givon; author: Itamar Givon):

[mediawiki/extensions/Wikibase@master] [DNM] Search: Support CirrusSearch debugging params

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

Change #1176649 had a related patch set uploaded (by Itamar Givon; author: Itamar Givon):

[mediawiki/extensions/Wikibase@master] [DNM] Search: Support CirrusSearch debugging params

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

Change #1176650 had a related patch set uploaded (by Itamar Givon; author: Itamar Givon):

[mediawiki/extensions/WikibaseCirrusSearch@master] [DNM] Allow Wikibase RESTful search to support debug dump params

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

Change #1176651 had a related patch set uploaded (by Itamar Givon; author: Itamar Givon):

[mediawiki/extensions/Wikibase@master] [DNM] Search: Support CirrusSearch debugging params

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

Change #1176658 had a related patch set uploaded (by Itamar Givon; author: Itamar Givon):

[mediawiki/extensions/WikibaseCirrusSearch@master] [DNM] Allow Wikibase RESTful search to support debug dump params

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

Change #1176651 abandoned by Itamar Givon:

[mediawiki/extensions/Wikibase@master] [DNM] Search: Support CirrusSearch debugging params

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

Change #1176650 abandoned by Itamar Givon:

[mediawiki/extensions/WikibaseCirrusSearch@master] [DNM] Allow Wikibase RESTful search to support debug dump params

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

Change #1176649 abandoned by Itamar Givon:

[mediawiki/extensions/Wikibase@master] [DNM] Search: Support CirrusSearch debugging params

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

Change #1176648 abandoned by Itamar Givon:

[mediawiki/extensions/Wikibase@master] [DNM] Search: Support CirrusSearch debugging params

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

Change #1176658 merged by jenkins-bot:

[mediawiki/extensions/WikibaseCirrusSearch@master] Allow Wikibase RESTful search to support debug dump params

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