See Global Ordinals discussion: Global ordinals performance and size on-heap
From there:
"They are monitored in the
fielddata
stats, we could have a dedicated section but if you don't have anytext
field that loadsfielddata
then the memory reported can be attributed to global ordinals entirely."