ncb000gt / node-es

NodeJS module for ElasticSearch.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question about schema mapping error with es 1.2,2

KnowledgeGarden opened this issue · comments

I created a gist for the mappings I am sending through node-es, with a returned error:
MapperParsingException[Root type mapping not empty after parsing!

The gist is at
https://gist.github.com/KnowledgeGarden/b965b7e78f19f9be9025

I'm wondering if anyone recognizes an error in my mapping. This bug seems to crop up since 1.2

Thanks!

Found a link on StackOverflow about this, actually: http://stackoverflow.com/questions/24254081/elasticsearch-1-2-1-exception-root-type-mapping-not-empty-after-parsing

It appears to be known issue in ElasticSearch v1.2.1. The StackOverflow link above also shows a work around that may work.

Yes, I followed that SO to no real avail, but still fixed the problem; it's clearly not a node-es problem at all.