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
Assumptions:
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T437389 [Epic] Semantic Search for web | |||
| Resolved | matthiasmullie | T437391 [Semantic Search] Call Semantic Search API |
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.
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
Change #1339812 merged by jenkins-bot:
[mediawiki/extensions/ReaderExperiments@master] Init Special:SemanticSearch
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
Change #1345054 merged by jenkins-bot:
[mediawiki/extensions/ReaderExperiments@master] Alter common $request instance
I think we should wait for the latest patch to land on production before we can close this ticket.