title: How do i write a search query in elastic when the field name is unknown
body: <p><a href="https://i.stack.imgur.com/A8AGC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A8AGC.png" alt="enter image description here"></a></p>
  
  <p>I want to use the elastic search to query documents who has the matching values of "dc883c6f24776ad6ce1f86c41b5cf87cfb784e85".</p>
  
  <p>Please find the structure of the source document attached in the image. Is it possible to query this with something like below using *[wild char] when the field name is unknown for us. </p>
  
  <pre><code> "query" : {
      "constant_score" : {
          "filter" : {
              "terms" : { 
                  "commitId.persistence-statics-service.*":["dc883c6f24776ad6ce1f86c41b5cf87cfb784e85"]
              }
          }
      }
  }
  </code></pre>