code: public final Map<String, Object> fetchRelation(Class<?> clazz, String query)
      {
          // TODO: need to return list.
          return search(clazz, query, Constants.INVALID, Constants.INVALID, true);
      }
docs: Searches on the index. Note: Query must be in Indexer's understandable
  format
  
  @param query
  the query
  @return the list