<commit_before>---
"Basic":

  - do:
      exists:
        index: test_1
        type:  test
        id:    1

  - is_false: ''

  - do:
      index:
        index: test_1
        type:  test
        id:    1
        body:  { "foo": "bar" }

  - is_true: ''

  - do:
      exists:
        index: test_1
        type:  test
        id:    1

  - is_true: ''

---
"test version parameter is recognized":
  - skip:
      version: " - 5.3.99"
      reason:  This parameter was added in 5.4.0
  - do:
      exists:<commit_msg>[TEST] Add missing doc in REST test<commit_after>---
"Basic":

  - do:
      exists:
        index: test_1
        type:  test
        id:    1

  - is_false: ''

  - do:
      index:
        index: test_1
        type:  test
        id:    1
        body:  { "foo": "bar" }

  - is_true: ''

  - do:
      exists:
        index: test_1
        type:  test
        id:    1

  - is_true: ''

---
"test version parameter is recognized":
  - skip:
      version: " - 5.3.99"
      reason:  This parameter was added in 5.4.0

  - do:
      index:
        index: test_1
        type:  test
        id:    1
        body:  { "foo": "bar" }

  - is_true: ''

  - do:
      exists:
{'fraction_non_alphanumeric': 0.12887029288702928, 'fraction_numerical': 0.023430962343096235, 'mean_word_length': 1.1824817518248176, 'pattern_counts': {'":': 7, '<': 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': '5453387', 'n_tokens_mistral': 452, 'n_tokens_neox': 428, 'n_words': 115}