code: public JSONObject searchSynonyms(SynonymQuery query) throws AlgoliaException, JSONException {
      return this.searchSynonyms(query, RequestOptions.empty);
    }
docs: Search for synonyms
  
  @param query the query