Elasticsearch::Transport::Transport::Errors::BadRequest


(Jonas) #1

How to solve this error?

This is my model file (Ruby on Rails): https://github.com/JonasPreisler/tim4/blob/master/app/models/vehicle.rb

This is the error:
Elasticsearch::Transport::Transport::Errors::BadRequest: [400] {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"No handler for type [string] declared on field [year]"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [vehicles]: No handler for type [string] declared on field [year]","caused_by":{"type":"mapper_parsing_exception","reason":"No handler for type [string] declared on field [year]"}},"status":400}

Thank you

  • Jonas

(Jonas) #2

Anyone please?


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.