Page MenuHomePhabricator

Add an internal completion or suggestions API to core SearchEngine
Closed, DeclinedPublic

Description

The initial goal of putting the suggestions api into production is to replace the usage of prefix search in the opensearch api with our new completion suggester. To do that some sort of completion api needs to be defined that this can call. The most obvious place to add it would be the SearchEngine class in core.

The default implementation should fallback to prefix search, and CirrusSearch should hook in and replace that with its own completions.

Event Timeline

dcausse raised the priority of this task from to Needs Triage.
dcausse updated the task description. (Show Details)
dcausse added a subscriber: dcausse.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript

Change 237692 had a related patch set uploaded (by DCausse):
Add searchSuggestions to SearchEngine

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

Change 237692 abandoned by DCausse:
Add searchSuggestions to SearchEngine

Reason:
done by Stas

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