Activity log for bug #1194907

Date Who What changed Old value New value Message
2013-06-26 14:56:23 Aaron Bentley bug added bug
2013-06-26 15:00:03 Aaron Bentley description Elasticsearch is not a free-form data store; it uses a mapping, and that mapping has an entry for every unique key it encounters. This prevents pre-defining value types, which in turn leads to issues like bug #1176452. It also means that the mapping is so long that it is not human-readable. (The mapping for 10 charms turns out to be 1598 lines, pretty-printed.) Instead, the representation given to elasticsearch should make all user-defined values *values*, not keys. For example: {'foo': 'bar', 'baz': 'qux'} => [{'name': 'foo', 'value': 'bar'}, {'name': 'foo', 'value': 'qux'}] Currently affected fields: "config.options" (but work in progress), "files", "provides", "requires", "peers", Elasticsearch is not a free-form data store; it uses a mapping, and that mapping has an entry for every unique key it encounters. This prevents pre-defining value types, which in turn leads to issues like bug #1176452. It also means that the mapping is so long that it is not human-readable. (The mapping for 10 charms turns out to be 1598 lines, pretty-printed.) Instead, the representation given to elasticsearch should make all user-defined values *values*, not keys. For example: {'foo': 'bar', 'baz': 'qux'} => [{'name': 'foo', 'value': 'bar'}, {'name': 'foo', 'value': 'qux'}] Currently affected fields: "config.options" (but work in progress), "files", "provides", "requires", "peers". When fixing files, it may make sense to address bug #1189992 at the same time.
2013-07-03 14:37:51 Curtis Hovey charmworld: status New Triaged
2013-07-03 14:38:02 Curtis Hovey charmworld: importance Undecided High
2013-09-10 15:14:32 Abel Deuring branch linked lp:~adeuring/charmworld/fixed-interfaces-mapping
2013-09-16 15:17:59 Curtis Hovey tags elasticsearch
2013-09-16 16:55:46 Curtis Hovey charmworld: assignee Abel Deuring (adeuring)
2013-09-16 16:55:52 Curtis Hovey charmworld: status Triaged Fix Committed
2013-10-29 17:42:40 Curtis Hovey charmworld: status Fix Committed Fix Released