question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mapper_parsing_exception: unsupported parameter [enabled : false]

See original GitHub issue

Hi ! 😃

Version: 15.2.0

I’m trying to use this option: https://www.elastic.co/guide/en/elasticsearch/reference/current/enabled.html

But I got an error from mapper parsing: [mapper_parsing_exception] Mapping definition for [seo_description] has unsupported parameters: [enabled : false]

putMapping:

res = await elasticClient.indices.putMapping({
  index: 'cm',
  type; 'product',
  body: {
    properties: mapping,
  },
})

The mapping definition:

{
	"id": {
		"type": "keyword"
	},
	"category_id": {
		"type": "text"
	},
	"category_label": {
		"type": "text",
		"copy_to": "feature_search"
	},
	"sibling_id": {
		"type": "text"
	},
	"seo_description": {
		"type": "text",
		"enabled": false
	}
}

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:7
  • Comments:11

github_iconTop GitHub Comments

10reactions
tacmancommented, Sep 22, 2020

I think the parameter name has changed from ‘enabled’ to ‘index’, so now use {“index”: false}

3reactions
MajidJafaricommented, Nov 13, 2019

I am using elastic 7.3.1 and I have the same issue. But when I remove the “type” property, everything is OK.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Elasticsearch Root mapping unsupported param
Elasticsearch Root mapping unsupported param ... has unsupported parameters: [feed : {_all={enabled=false}, properties={feed={type=keyword}, ...
Read more >
Root mapping definition has unsupported parameters: [_size
Hello, I have installed ES 6.5.4 in my cluster. Also installed Size plugin 6.5.4. After restarting the cluster, tried creating an index with ......
Read more >
How to fix ElasticSearch 'Root mapping definition has ...
How to fix ElasticSearch 'Root mapping definition has unsupported parameters'. Problem: You want to create an ElasticSearch index with a custom ...
Read more >
[GitHub] [skywalking] 844700118 opened a new issue #7960
... to parse mapping [_default_]: Root mapping definition has unsupported parameters: [_all : {enabled=false}]] org.elasticsearch.
Read more >
Root mapping definition has unsupported parameters: Elastic ...
I am getting the following error when I am trying to create elastic index in SuiteCRM 7.11.8. Not able to understand what is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found