summaryrefslogtreecommitdiffstats
path: root/charts/aai-sparky-be/resources/config/schemas/es_settings.json
blob: 6e857681ff42cf4a48ae18a9be40c404fd824558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
    "analysis": {
        "filter": {
            "ngram_filter": {
                "type": "nGram",
                "min_gram": 1,
                "max_gram": 50,
                "token_chars": [
                    "letter",
                    "digit",
                    "punctuation",
                    "symbol"
                ]
            }
        },
        "analyzer": {
            "ngram_analyzer": {
                "type": "custom",
                "tokenizer": "whitespace",
                "filter": [
                    "lowercase",
                    "asciifolding",
                    "ngram_filter"
                ]
            },
            "whitespace_analyzer": {
                "type": "custom",
                "tokenizer": "whitespace",
                "filter": [
                    "lowercase",
                    "asciifolding"
                ]
            }
        }
    }
}