~Environment~
docker => docker.elastic.co/elasticsearch/elasticsearch:7.1.0
Rails => Version 5.1.7
Gem =>elasticsearch-model, elasticsearch-rails
I'm working on setting up Elasticsearch.
but when I tryed to create index like this(Article.elasticsearch.create_index! force: true), 500 error was happened.
This below is the full error sentences.
Elasticsearch::Transport::Transport::Errors::InternalServerError: [500] {"error":{"root_cause":[{"type":"class_cast_exception","reason":"java.lang.String cannot be cast to java.util.Map"}],"type":"class_cast_exception","reason":"java.lang.String cannot be cast to java.util.Map"},"status":500}
from /Users/kyuma.morita/Codes/apps/finc_store/vendor/bundle/ruby/2.5.0/gems/elasticsearch-transport-7.4.0/lib/elasticsearch/transport/transport/base.rb:205:in `__raise_transport_error'
Cluster health is "green" strangely...
Anyone know how to solve it?