code: @Override
      protected List populateEntities(EntityMetadata m, Client client)
      {
          ClientMetadata clientMetadata = ((ClientBase) client).getClientMetadata();
          this.useLuceneOrES = !MetadataUtils.useSecondryIndex(clientMetadata);
          if (useLuceneOrES)
          {
              return populateUsingLucene(m, client, null, kunderaQuery.getResult());
          }
          else
          {
              CouchDBQueryInterpreter interpreter = onTranslation(getKunderaQuery().getFilterClauseQueue(), m);
              return ((CouchDBClient) client).createAndExecuteQuery(interpreter);
          }
      }
docs: Populate results.
  
  @param m
  the m
  @param client
  the client
  @return the list