Byte fields being represented in quotation marks

I am using a mapping on my index where some of the fields are "byte".

"m_Ad_Impression_Preroll": {
"type": "byte"

When I'm using the Search API to get documents, I am obtaining the value of the filed in quotation marks.

"m_Videogram_Play": "1",

This is happening only with some of the fields which are "byte".

The m_ec_unique_count field is giving expected results.

"m_ec_unique_count": {
"type": "byte"

"m_ec_unique_count": 1,

Why is this happening?

P.S. I can only show snippets of the code.

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