Mappings: Remove ability to set path for _id and _routing on 2.0+ indexes

_id and _routing now no longer support the 'path' setting on indexes
created with 2.0.  Indexes created before 2.0 still support this
setting for backcompat.

closes #6730
This commit is contained in:
Ryan Ernst 2015-02-09 21:50:55 -08:00
parent 6544890e14
commit b3474f6b25
15 changed files with 106 additions and 134 deletions

View file

@ -175,6 +175,15 @@ def generate_index(client, version):
}
}
}
mappings['meta_fields'] = {
'_id': {
'path': 'myid'
},
'_routing': {
'path': 'myrouting'
}
}
client.indices.create(index='test', body={
'settings': {