Hi All,
I'm working on a rails 5.0.6 project with Elasticsearch 2.4. I'm using searchkick. My question is, I'm getting the following error when I try to reindex. (I understand some of the values in the error is maybe specific to my case)
{"type"=>"illegal_argument_exception", "reason"=>"Mapper for [body] conflicts with existing mapping in other types:\n[mapper [body] has different [index] values, mapper [body] has different [analyzer], mapper [body] is used by multiple types. Set update_all_types to true to update [search_analyzer] across all types., mapper [body] is used by multiple types. Set update_all_types to true to update [search_quote_analyzer] across all types.]"}
Can someone please explain me this error on what it means and help me to understand what might be causing this issue. Then I can check the code and fix it.
I have found some articles on the web, but still not fully understand what causing the error
thanks in advance,
I've posted the same question in SO too
cheers,
Sam