@classmethod
def put_settings(cls, my_data):
    """Merge/Set the given settings.

    ex:
    # to update the max result window
    put_settings({'max_result_window': 100000})
    # to add an analyzer
    put_settings({
      "analysis": {
        "analyzer": {
          "no_punctuation_analyzer": {
            "tokenizer": "kuromoji_no_punctuation_dict",
            "filter": ["kuromoji_st", "kuromoji_syn", "cjk_width"]
          }
        },
        "tokenizer": {
          "kuromoji_no_punctuation_dict": {
             "type": "kuromoji_tokenizer",
             "mode": "search",
             "discard_punctuation": "true",
             "user_dictionary": "luxeysdict_ja.txt"
          }
        }
      }
    })
    """
    conn = cls.get_connection()
    return conn.indices.put_settings(body=my_data, index=cls.get_index_name())
