code: protected String getQueryUrl(String hostOrKey, String index, String type, String id, Object query) {
          return getElasticSearchUrl(hostOrKey) + formatQueryUrl(index, type, id, query);
      }
docs: Get the full Elasticsearch url
  
  @param hostOrKey
  @param index
  @param type
  @param id
  @param query
  @return