<commit_before>package com.sksamuel.elastic4s.admin

case class ShrinkIndexRequest(source: String,
                              target: String,
                              waitForActiveShards: Option[Int] = None,
                              settings: Map[String, String] = Map.empty) {

  def settings(map: Map[String, String]): ShrinkIndexRequest = copy(settings = settings)
}<commit_msg>Change shrink index settings copy builder to use param (#1407)<commit_after>package com.sksamuel.elastic4s.admin

case class ShrinkIndexRequest(source: String,
                              target: String,
                              waitForActiveShards: Option[Int] = None,
                              settings: Map[String, String] = Map.empty) {

  def settings(map: Map[String, String]): ShrinkIndexRequest = copy(settings = map)
}
{'fraction_non_alphanumeric': 0.09014423076923077, 'fraction_numerical': 0.007211538461538462, 'mean_word_length': 2.203846153846154, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5399689', 'n_tokens_mistral': 225, 'n_tokens_neox': 214, 'n_words': 53}