code: public QueryHits evaluate(Query query) throws IOException
     {
        return evaluate(query, new Sort(), Integer.MAX_VALUE);
     }
docs: Evaluates the query and returns the hits that match the query.
  
  @param query           the query to execute.
  @return the query hits.
  @throws IOException if an error occurs while executing the query.