HomePhabricator

Add morelikethis a non-greedy version of the morelike keyword

This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Add morelikethis a non-greedy version of the morelike keyword

morelike is a keyword that cannot be combined because it is greedy
and considered a query header. This does not allow to combine it
with any other keywords/query text.
Since morelike is heavily used it is not possible to fix without
breaking existing clients.
Introduce a new keyword "morelikethis" to address all the limitations
of morelike.
Like any other keywords its value must be wrapped in double quotes if
it contains space.
Internally it will act as a more_like feature:

  • be reported as such in metrics
  • cached using the same TTL config

Bug: T159321
Change-Id: I81bda72fa7fb4f544d4bed701d441a473d00329e
(cherry picked from commit cd8ef9520c06c0ec396bd18c1cf4efa189869972)

Details

Provenance
dcausseAuthored on Aug 30 2019, 1:58 PM
kostajhCommitted on Sep 5 2019, 8:19 AM
ChangeId
I81bda72fa7fb4f544d4bed701d441a473d00329e

Commit No Longer Exists

This commit no longer exists in the repository.