Built In Mappings

Hello!
I'm trying to add built in mapping for index "contacts" for document
type "contact".
But when I created directory config/mappings/contacts/ (even empty or
with valid file contact.json inside) all my attempts to create index
"contacts" fail:

ad@devbox:~$ curl -XPUT 'http://localhost:9200/contacts/'
{"error":"nested: "}ad@devbox:~$

When I drop config/mappings/ directory the index created successfully:
ad@devbox:~$ curl -XPUT 'http://localhost:9200/contacts/'
{"ok":true,"acknowledged":true}ad@devbox:~$

Where I'm wrong?

--
Andrew Degtiariov
DA-RIPE

Seems similar to this thread:
http://groups.google.com/a/elasticsearch.com/group/users/browse_thread/thread/9b19daafa8eca840/b488f0ba74ee5ab3?lnk=gst&q=tal#b488f0ba74ee5ab3
Fixed in master (0.9.1)

Tal

On Aug 9, 5:23 pm, Andrew Degtiariov andrew.degtiar...@gmail.com
wrote:

Hello!
I'm trying to add built in mapping for index "contacts" for document
type "contact".
But when I created directory config/mappings/contacts/ (even empty or
with valid file contact.json inside) all my attempts to create index
"contacts" fail:

ad@devbox:~$ curl -XPUT 'http://localhost:9200/contacts/'
{"error":"nested: "}ad@devbox:~$

When I drop config/mappings/ directory the index created successfully:
ad@devbox:~$ curl -XPUT 'http://localhost:9200/contacts/'
{"ok":true,"acknowledged":true}ad@devbox:~$

Where I'm wrong?

--
Andrew Degtiariov
DA-RIPE