<commit_before>{
    "settings": {
        "index": {
            "max_result_window": 100000
        },
        "analysis": {
            "char_filter": {
                "hyphen_mapping": {
                    "type": "mapping",
                    "mappings": [
                        "-=>"
                    ]
                },
                "non_numeric_remover": {
                    "type": "pattern_replace",
                    "pattern": "[^0-9]+",
                    "replacement": " "
                }
            },
            "analyzer": {
                "completer": {
                    "filter": "custom_edge_ngram",
                    "tokenizer": "lowercase",
                    "type": "custom"
                },
                "isbn_analyzer": {
                    "tokenizer": "standard",
                    "char_filter": [
                        "hyphen_mapping"
                    ],
                    "filter": [
                        "lowercase"
                    ]
                },
                "numeric_extractor": {
                    "filter": [
                        "numeric_keeper"
                    ],
                    "tokenizer": "numeric_keeper_tokenizer"
                },
                "default": {
                    "filter": [
                        "lowercase",
                        "swe_light_stemmer"
                    ],
                    "stopwords": "_none_",
                    "tokenizer": "standard"
                }
            },
            "tokenizer": {
                "numeric_keeper_tokenizer": {
                    "type": "pattern",
                    "group": 1,
                    "pattern": "([0-9]{4})"
                }
            },
            "filter": {
                "custom_edge_ngram": {
                    "max_gram": 50,
                    "min_gram": 2,
                    "type": "edgeNGram"
                },
                "numeric_keeper": {
                    "type": "pattern_capture",
                    "preserve_original": 0,
                    "patterns": [
                        "([0-9]{4})"
                    ]
                },
                "swe_light_stemmer": {
                    "name": "light_swedish",
                    "type": "stemmer"
                }<commit_msg>Remove analyzer to get expected wildcard behaviour<commit_after>{
    "settings": {
        "index": {
            "max_result_window": 100000
        },
        "analysis": {
            "char_filter": {
                "hyphen_mapping": {
                    "type": "mapping",
                    "mappings": [
                        "-=>"
                    ]
                },
                "non_numeric_remover": {
                    "type": "pattern_replace",
                    "pattern": "[^0-9]+",
                    "replacement": " "
                }
            },
            "analyzer": {
                "completer": {
                    "filter": "custom_edge_ngram",
                    "tokenizer": "lowercase",
                    "type": "custom"
                },
                "isbn_analyzer": {
                    "tokenizer": "standard",
                    "char_filter": [
                        "hyphen_mapping"
                    ],
                    "filter": [
                        "lowercase"
                    ]
                },
                "numeric_extractor": {
                    "filter": [
                        "numeric_keeper"
                    ],
                    "tokenizer": "numeric_keeper_tokenizer"
                }
            },
            "tokenizer": {
                "numeric_keeper_tokenizer": {
                    "type": "pattern",
                    "group": 1,
                    "pattern": "([0-9]{4})"
                }
            },
            "filter": {
                "custom_edge_ngram": {
                    "max_gram": 50,
                    "min_gram": 2,
                    "type": "edgeNGram"
                },
                "numeric_keeper": {
                    "type": "pattern_capture",
                    "preserve_original": 0,
                    "patterns": [
                        "([0-9]{4})"
                    ]
                },
                "swe_light_stemmer": {
                    "name": "light_swedish",
                    "type": "stemmer"
                }
{'fraction_non_alphanumeric': 0.1196043165467626, 'fraction_numerical': 0.0085431654676259, 'mean_word_length': 0.6961494471978651, 'pattern_counts': {'":': 86, '<': 3, '<?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': '1077527', 'n_tokens_mistral': 1140, 'n_tokens_neox': 989, 'n_words': 144}