>>> from collective.solr.parser import AttrDict>>> a = AttrDict()>>> a.update(foo=23, bar=42)>>> a{'foo': 23, 'bar': 42}>>> a['another'] = AttrDict(foo=13)>>> a{'foo': 23, 'bar': 42, 'another': {'foo': 13}}>>> a.foo23>>> a.another.foo13