Page MenuHomePhabricator

Externalize the phrase suggest builder (DYM)
Closed, ResolvedPublic


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.