title: multiple selection for elasticsearch
body: <p>i want to make a query for elasticsearch where it search all names, now they way i am doing it it will search a single name and when i try to put multiple names, it return null because as a example we assume that the first name is "<strong>john</strong>", so it will search for john and find it.</p>
  
  <p>Now if we select another name "<strong>johnsson</strong>" than it will search for <strong>johnjohnsson</strong>, which will always return empty.</p>
  
  <p>Now how i can make the query to search for all the names which is selected.</p>
  
  <pre><code>                        'query_string' =&gt; array(
                          'default_field' =&gt; 'name',
                          'query' =&gt; $name[$i] // how to search multiple names
                      )
                  );
              }
  
  
              $docs = $client-&gt;search($params);
  }
  </code></pre>