code: public RefinementsResult refinements(Query query, String navigationName) throws IOException {
      InputStream data = fireRequest(getBridgeRefinementsUrl(), query.getQueryUrlParams(), query.getBridgeRefinementsJson(clientKey, navigationName), query.isReturnBinary());
      return mapRefinements(data, query.isReturnBinary());
    }
docs: <code>
  Connects to the refinements service, parses the response into a model
  Retrieves at most 10,000 refinements for the navigation specified.
  </code>
  
  @param query
  A query representing the search.
  @param navigationName
  The name of the navigation to get more refinements for.
  
  @return RefinementsResult object from the refinements service
  
  @throws IOException