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.

How to create index with "index.mapping.ignore_malformed" setting

See original GitHub issue

I try to use client.indices().create(r -> r.settings(s -> s.....)).

but I don’t find any variables used for this parameter in the class IndexSettings. Any ideas?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
swallezcommented, Mar 22, 2022

@jerryguowei this is indeed an issue in the API specification used to produce the Java code.

https://github.com/elastic/elasticsearch-specification/issues/1566 has been opened to solve this, and the Java client will be updated once it’s fixed.

@jdrossl the settings you mention were recently added to the API specification and will be included in the next release of the Java client.

1reaction
swallezcommented, Jan 25, 2022

Thanks @jerryguowei, this is indeed the right place to report issues. Full coverage of index settings not complete yet in the API specification but we’re actively working on it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ignore_malformed | Elasticsearch Guide [8.5] | Elastic
The index.mapping.ignore_malformed setting can be set on the index level to ignore malformed content globally across all allowed mapping types.
Read more >
How set ignore_malformed in index level when creating an ...
Surprisingly, index.settings( index={'mapping':{'ignore_malformed':True}} ). Worked perfectly. I'll leave the Q here, since might be ...
Read more >
Missing "index.mapping.ignore_malformed" property #1566
How to create index with "index.mapping.ignore_malformed " setting ... Add 'ignore_malformed' to MappingLimitSettings #1620.
Read more >
ignore_malformed
The index.mapping.ignore_malformed setting can be set on the index level to allow to ignore malformed content globally across all mapping types. PUT my_index ......
Read more >
How to Define Efficient Mapping in Elasticsearch - Opster
You can configure a field not to be indexed if the document contains wrong data using “ignore_malformed”: true. Dynamic mapping will produce poor...
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