<commit_before>{
  "template": "<%= p('elasticsearch_config.index_prefix') %>*",
  "order": 102,
  "settings": { 
    "index": {
      "query": {
        "default_field": "@raw"
      }
    }    
  },
  "mappings": {
    "_default_": {
      "_all": {
        "enabled": false
      },
      "dynamic_templates": [
        {
          "string_fields": {
            "match": "*",
            "match_mapping_type": "string",
            "mapping": {
              "type": "keyword",
              "index": false,
              "omit_norms": true
            }
          }
        }
      ],
      "properties": {
        "@version": {
          "type": "keyword",
          "index": false
        },
        "@raw": {
          "type": "text",
          "index": true,
          "norms": {
            "enabled": false
          }
        },
        "geoip": {
          "type": "object",
          "dynamic": true,
          "properties": {<commit_msg>missed that keywords still need index:true<commit_after>{
  "template": "<%= p('elasticsearch_config.index_prefix') %>*",
  "order": 102,
  "settings": { 
    "index": {
      "query": {
        "default_field": "@raw"
      }
    }    
  },
  "mappings": {
    "_default_": {
      "_all": {
        "enabled": false
      },
      "dynamic_templates": [
        {
          "string_fields": {
            "match": "*",
            "match_mapping_type": "string",
            "mapping": {
              "type": "keyword",
              "index": true,
              "omit_norms": true
            }
          }
        }
      ],
      "properties": {
        "@version": {
          "type": "keyword",
          "index": true
        },
        "@raw": {
          "type": "text",
          "index": true,
          "norms": {
            "enabled": false
          }
        },
        "geoip": {
          "type": "object",
          "dynamic": true,
          "properties": {
{'fraction_non_alphanumeric': 0.17762817193164163, 'fraction_numerical': 0.0031071983428275505, 'mean_word_length': 1.2309468822170901, 'pattern_counts': {'":': 62, '<': 5, '<?xml version=': 0, '>': 5, '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': '1091283', 'n_tokens_mistral': 581, 'n_tokens_neox': 572, 'n_words': 99}