You probably have another field called "title" with a different mapping of a different type , but in the same index.
Basically, if you have 2 fields with the same name in the same index - even if they are in different types - they cannot have different mappings: more precisely, even if they have the same ones (for example: "string"), but one of them is “analyzed” and the other is “not analyzed”, problems arise.
I mean, yes, you can try setting up 2 different comparisons, and ElasticSearch will not complain, but when you search, you will get a strange result, and everything will go for bananas.
You can read more about this problem here , where they say:
[...] In the end, we decided to apply the rule that all fields with the same name in the same index must have the same mapping [...]
And yes, given that ElasticSearch’s promise was always “it just works,” this small detail took many people by surprise.
source share