Question about compression of field with same value for every document

I have a field that is common to all of my indices. The field always has a value that is a complex object that itself has fields on it that are string arrays:

commonField: {
    a: ['a', 'b', 'c'],
    b: ['a', 'b']
    ...
}

For some of my indices (the largest ones in fact), the value for commonField will be the same for every document in that index.

My question is does elasticsearch 6 have any smarts that will prevent this value from being redundantly stored on disk if it is the same for every document in the index? Is there anything I can do in this case to ensure that this value is compressed so that it is only on disk once, but still behaves like a normal field?

Thanks

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