ncb000gt / node-es

NodeJS module for ElasticSearch.
103 stars 81 forks source link

Question about schema mapping error with es 1.2,2 #51

Closed KnowledgeGarden closed 10 years ago

KnowledgeGarden commented 10 years ago

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!

brozeph commented 10 years ago

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.

KnowledgeGarden commented 10 years ago

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