code: @Override
      public List<?> getResultList() {
          if (log.isDebugEnabled())
              log.debug("JPA Query: " + getJPAQuery());
  
          // get luence query
          String q = luceneQuery;
          if (null == q) {
              q = KunderaCoreUtils.getLuceneQueryFromJPAQuery(kunderaQuery, kunderaMetadata);
          }
  
          if (log.isDebugEnabled())
              log.debug("Lucene Query: " + q);
  
          EntityMetadata m = kunderaQuery.getEntityMetadata();
          Client client = persistenceDelegeator.getClient(m);
  
          handlePostEvent();
          Map<String, Object> searchFilter = client.getIndexManager().search(m.getEntityClazz(), q, -1, maxResult);
  
          if (kunderaQuery.isAliasOnly()) {
              String[] primaryKeys = searchFilter.values().toArray(new String[] {});
              return persistenceDelegeator.find(m.getEntityClazz(), primaryKeys);
          } else {
              return persistenceDelegeator.find(m.getEntityClazz(), searchFilter);
  
          }
  
      }
docs: /*
  (non-Javadoc)
  
  @see com.impetus.kundera.query.QueryImpl#getResultList()