HomePhabricator

Stop using _type (Elastic 6.0 support)
0c864b875f67Unpublished

Authored by mmodell on Aug 30 2018, 2:49 AM.

Unpublished Commit · Learn More

Publishing Disabled: All publishing is disabled for this repository.

Description

Stop using _type (Elastic 6.0 support)

Summary:
Elasticsearch 6 doesn't support multiple types per index. Instead use
a docType field for the same purpose.

Test Plan:
set elastic version to 6 in phabricator's search cluster config,
then reindex everything.

Reviewers: Paladox

Maniphest Tasks: T181393

Differential Revision: https://phabricator.wikimedia.org/D1109

Details