How to Find a document with maximum number of fields in ElasticSearch

Hi, we are trying to find a document in elastic index with maximum number of fields , my document is below format . is there any way to get the document or the highest number of fields count in the document.

"header": 123,
"extraobjects":{ ->> this object can more attributes , can be added dynamically

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