HomePhabricator

Convert GeoData for elasticsearch 5 update

Description

Convert GeoData for elasticsearch 5 update

Once elasticsearch 5 is shipped out the configuration of geo_point
fields slightly changes. It will no longer be necessary to specify what
type of input will be provided, instead the field just accepts all
possible inputs and figures out what was provided at index time.

Additionally changes integers 1/0 representing a boolean to true/false,
as 1/0 is deprecated in 5.x.

Don't merge this until after the elasticsearch 5 upgrade. Indices
created before we switch to es 5 need this config in the mapping.

Bug: T158266
Bug: T158143
Change-Id: I68b6fd8929cd76c79388086587e8eabe62b9feb2

Details

Provenance
EBernhardsonAuthored on Feb 15 2017, 12:36 AM
dcausseCommitted on Mar 9 2017, 2:50 PM
Parents
rEGDA6cb97326d1bd: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
References
refs/changes/32/338032/6
ChangeId
I68b6fd8929cd76c79388086587e8eabe62b9feb2