I recently came across the following case, some of my attributes are not being converted correctly, specific cases of type byte and short.
Maybe because lucene does not have these types, but in elasticsearch we have.
It would be nice as these fields, because are optimized compared to a text / keyword.
I created a test case to be documented here, and maybe in elasticsearch 6.x or before, we'll be able to use these types.
The following mapping is created: