Page MenuHomePhabricator

Migrate the completion suggester client code to elastic 5.x
Closed, ResolvedPublic

Event Timeline

Change 333971 had a related patch set uploaded (by DCausse):
Refactor completion to support elastic5

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

dcausse changed the task status from Open to Stalled.Jan 31 2017, 10:40 AM

Putting this on hold, basic functionalities have been ported.
To move forward I'd need to have relforge upgraded to es5 to have more data and make sure ranking works as expected.

When we first deploy this, we might be in the unfortunate situation of having a titlesuggest index built by 2.x, but being served by 5.x. Currently that results in opensearch responses such as:

[
  "s",
  ["147734:t:Shinjuku" ],
  [ "" ],
  [ "http://en.wiki.local.wmftest.net:8080/wiki/147734:t:Shinjuku" ]
]

I'm not sure the best way to handle ... perhaps we briefly disable the completion suggester until we have re-built indices with 5.x and allow it to use prefix search instead.

Change 333971 merged by jenkins-bot:
Refactor completion to support elastic5

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