Error "type": "query_shard_exception" while running below query in dev tools

Sorry the link was not the correct one:

Here you have better explanation:

It's maybe a limitation of elsaticsearch...
One solution can be to have a string version of "contentid" something like "contentcode" mapped as string, if all your fields are string you'll not have the error and be able to search on all your fields.