title: Provide a List of values as search Criteria in Hibernate Search
body: <p>I have the implemented Hibernate search and it works fine.</p>
  
  <p>So if i say want to get all employees matching Captain ,i use the following code</p>
  
  <pre><code>QueryBuilder qb = fullTextEntityManager.getSearchFactory()
                  .buildQueryBuilder().forEntity(Employee.class).get();
          org.apache.lucene.search.Query query = qb.keyword().onFields("name")
                  .matching("Captain").createQuery();
  
          // wrap Lucene query in a javax.persistence.Query
          javax.persistence.Query persistenceQuery = fullTextEntityManager
                  .createFullTextQuery(query, Employee.class);
  
          // execute search
          List&lt;Employee&gt; result = persistenceQuery.getResultList();
          System.out.println("num of employess:" + result);
  </code></pre>
  
  <p>My question is if i want to pass a list of values as search criteria,does hibernate search provide any method to do that.</p>
  
  <p>For example if i want to get employees from a table whose names are similar to either one in the following list [Abhi,Juhi,Joan,Paul,James]</p>