def replace_all_synonyms(synonyms, request_options = {})
      forward_to_replicas = request_options[:forwardToReplicas] || request_options['forwardToReplicas'] || false
      batch_synonyms(synonyms, forward_to_replicas, true, request_options)
    end
def replace_all_synonyms(synonyms, request_options = {})
      forward_to_replicas = request_options[:forwardToReplicas] || request_options['forwardToReplicas'] || false
      batch_synonyms(synonyms, forward_to_replicas, true, request_options)
    end
Replace synonyms in the index by the given array of synonyms

 @param synonyms the array of synonyms to add
 @param request_options contains extra parameters to send with your query