mozilla/elasticutils — pull request #177 by catalanojuan (2013-10-29 18:49:33+00:00)
Title: [Doc] Fixed: Indexing examples lack the `properties` key when configuring mappings

The code examples for setting up mappings using both `create_index` and `put_mapping` don't include the `properties` key in the dict provided.

As far as I know from ES [doc](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-put-mapping.html) the `properties` key is necessary. I tried without providing it and it results in an empty mapping for the created index.