0

I have a single index containing user information. I would like to make a search for documents matching either the NAME or EMAIL, give a count of matched documents for each and also a total count (NAME + EMAIL) with no duplicates between them. I was trying to use the aggregations, but dont quite seem to understand what to use.

nebula186
  • 119
  • 2
  • 14

0 Answers0