Page MenuHomePhabricator

[Semantic Search] Call Semantic Search API
Closed, ResolvedPublic2 Estimated Story Points

Description

Assumptions:

  • use same live endpoint as the previous Apps test, which mostly behaves like the production search APIs
  • API is invoked by attaching &cirrusSemanticSearch to a search query
  • dependent on Search making highlights span available

Related Objects

Event Timeline

Assuming this task is about the Semantic Search project, hence adding that project tag so other people who don't know or don't care about team tags can also find this task when searching via projects or looking at workboards. Please set appropriate project tags when possible.

SherryYang-WMF set the point value for this task to 2.Sep 9 2026, 5:21 PM
SherryYang-WMF changed the task status from Open to Stalled.Sep 9 2026, 11:07 PM

on hold until we get the semantic highlights from Search

SherryYang-WMF lowered the priority of this task from High to Low.Sep 9 2026, 11:07 PM

Note: there are not currently highlights in the semantic search snippets, but if/when parts end up getting highlighted in the API output, it'll start showing automatically (as it already does for searches that are routed to lexical search, that runs through the exact same code, using the exact same API)

Change #1339812 had a related patch set uploaded (by Matthias Mullie; author: Matthias Mullie):

[mediawiki/extensions/ReaderExperiments@master] Init Special:SemanticSearch

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

mfossati changed the task status from Stalled to In Progress.Sep 17 2026, 11:30 AM
mfossati subscribed.

Highlights ready & implemented!

Change #1339812 merged by jenkins-bot:

[mediawiki/extensions/ReaderExperiments@master] Init Special:SemanticSearch

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

This is now on beta (https://en.wikipedia.beta.wmcloud.org/wiki/Special:SemanticSearch), but the semantic portion just shows the same lexical results.
That is expected, given that en/beta is not a wiki where semantic search is supported, so the additional param (requesting semantic results rather than the usual ones) does nothing.

Change #1345054 had a related patch set uploaded (by Matthias Mullie; author: Matthias Mullie):

[mediawiki/extensions/ReaderExperiments@master] Alter common instance

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

Change #1345054 merged by jenkins-bot:

[mediawiki/extensions/ReaderExperiments@master] Alter common $request instance

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

I think we should wait for the latest patch to land on production before we can close this ticket.