title: Query all unique values of a field with Elasticsearch
body: <p>How do I search for all unique values of a given field with <strong>Elasticsearch</strong>?</p>
  
  <p>I have such a kind of query like <code>select full_name from authors</code>, so I can display the list to the users on a form.</p>