XContent namespace refactor from common -> core is going to be merged to opensearch/2.x which will break the 2.x build. This issue is for backporting #482 to 2.x after the core namespace change is merged.
Depends on opensearch-project/OpenSearch#6470