Page MenuHomePhabricator

Externalize the phrase suggest builder (DYM)
Closed, ResolvedPublic

Description

The query sent to the phrase suggest (responsible for did you mean suggestions) is currently owned by FullTextQueryStringQueryBuilder.
We intend to deprecate this builder so the code should be externalized so that it can be reused.
At the same time we should fix how queries with keywords are handled, in other words we should generalize its process thanks to the query AST and remove the SearchContext::addSuggest[Prefix|Suffix] methods.

Event Timeline

dcausse triaged this task as Medium priority.Mar 20 2018, 10:06 AM
dcausse created this task.
Restricted Application edited projects, added Discovery-Search; removed Discovery-Search (Current work). · View Herald TranscriptMar 20 2018, 10:06 AM
TJones closed this task as Resolved.Jan 29 2019, 6:54 PM