473
473
temp_client = self.use_index_client()
480
476
def test_compatible_update(self):
481
477
index_client = self.use_index_client(put_mapping=False)
482
478
put_mapping(index_client, {
483
479
'box': {'type': 'string', 'index': 'not_analyzed'}
486
482
self.assertNotIn('name', mapping['properties'])
489
485
self.assertIn('box', mapping['properties'])
490
486
self.assertIn('name', mapping['properties'])