The ImmutableSettings class in the elastic-search project does not exist anymore. I found that the class was deleted.
"org.elasticsearch.common.settings.ImmutableSettings was deleted at 2015-05-26 05:41:12."
Would anyone give feedback on this? I still find many Q&As that include the class in the Stack Overflow.
How to write a test for Elasticsearch custom plugin?
Adding mapping to a type from Java - how do I do it?
Linkage error when using Elasticsearch client in Spring WebApp
Elasticsearch scala elastic4s settings from property file
In ES 2.0, the ImmutableSettings
class was indeed removed. This issue mentions it and the breaking changes documentation for 2.0 also mention it.
Instead you can now use Settings.builder()
instead of ImmutableSettings.builder()
. The current implementation of the Settings
class can be seen here
All the questions that still use ImmutableSettings
are questions about pre-2.0 versions of Elasticsearch.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With