<commit_before>{
  "_default_": {
    "_all": {
      "enabled": "true"
    },
    "dynamic_templates": [
      {
        "content_string": {
          "match": "content",
          "match_mapping_type": "string",
          "mapping": {
            "type": "string",
            "index": "analyzed"
          }
        }
      },
      {
        "default_string": {
          "match": "*",
          "match_mapping_type": "string",
          "mapping": {
            "type": "string",
            "analyzer": "analyzer_case_insensitive"
          }
        }
      }
    ]
  }
}<commit_msg>do not analyse version field - fix search by version<commit_after>{
  "_default_": {
    "_all": {
      "enabled": "true"
    },
    "dynamic_templates": [
      {
        "content_string": {
          "match": "content",
          "match_mapping_type": "string",
          "mapping": {
            "type": "string",
            "index": "analyzed"
          }
        }
      },
      {
        "version_code_string": {
          "match": "version",
          "match_mapping_type": "string",
          "mapping": {
            "type": "keyword"
          }
        }
      },
      {
        "default_string": {
          "match": "*",
          "match_mapping_type": "string",
          "mapping": {
            "type": "string",
            "analyzer": "analyzer_case_insensitive"
          }
        }
      }
    ]
  }
}
{'fraction_non_alphanumeric': 0.16031073446327684, 'fraction_numerical': 0.0, 'mean_word_length': 1.3115823817292007, 'pattern_counts': {'":': 37, '<': 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': '6208188', 'n_tokens_mistral': 425, 'n_tokens_neox': 422, 'n_words': 66}