HELP with query => Doc with array of 2 values Return 2 hits

Hi I need help writing query.

doc in ES is

{  A: "A",
   B: ["1","2"]
} 

result from query should be: hits(2x)

  { A:"A" , B: "1"} 
  { A:"A" , B: "2" }

is this possible?

I do not think that is possible. Elasticsearch will return the documents as stored.

1 Like

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