848
848
"Character '%s' at the end of a search term causes "
849
849
"ElasticHttpError" % char)
852
852
# When a charm is indexed, only the mappings for the properties
853
853
# "requires" and "provides" change.
854
854
before = self.index_client.get_mapping()['charm']['properties']