{
    "index":{
        "analysis":{
            "analyzer":{
                "synonymAnalyzer":{
                    "tokenizer":"whitespace",
                    "filter":[ "synonym" ]
                },
                "synonymAnalyzer_file":{
                    "tokenizer":"whitespace",
                    "filter":[ "synonym_file" ]
                },
                "synonymAnalyzerWordnet":{
                    "tokenizer":"standard",
                    "filter":[ "synonymWordnet" ]
                },
                "synonymAnalyzerWordnet_file":{
                    "tokenizer":"standard",
                    "filter":[ "synonymWordnet_file" ]
                },
                "synonymAnalyzerWithsettings":{
                    "tokenizer":"trigram",
                    "filter":["synonymWithTokenizerSettings"]
                },
                "synonymAnalyzerWithStopBeforeSynonym": {
                    "tokenizer":"whitespace",
                    "filter":["stop","synonym"]
                },
                "synonymAnalyzerWithStopAfterSynonym":{
                    "tokenizer":"whitespace",
                    "filter":["synonym","stop"]
                },
                "synonymAnalyzerWithStopSynonymAfterSynonym":{
                    "tokenizer":"whitespace",
                    "filter":["synonym","stop_within_synonym"]
                },
                "synonymAnalyzerExpand":{
                    "tokenizer": "whitespace",
                    "filter":["synonym_expand"]
                },
                "synonymAnalyzerExpandWithStopAfterSynonym":{
                    "tokenizer": "whitespace",
                    "filter":["synonym_expand", "stop_within_synonym"]
                }
            },
            "tokenizer":{
                "trigram" : {
                    "type" : "ngram",
                    "min_gram" : 3,
                    "max_gram" : 3
                }
            },
            "filter":{
                "synonym":{
                    "type":"synonym",
                    "synonyms":[
                        "kimchy => shay",
                        "dude => elasticsearch",
                        "abides => man!"
                    ]
                },
                "synonym_file":{
                    "type":"synonym",
                    "synonyms_path":"synonyms.txt"
                },
                "synonymWordnet":{
                    "type":"synonym",
                    "format":"wordnet",
                    "synonyms":[
                        "s(100000001,1,'abstain',v,1,0).",
                        "s(100000001,2,'refrain',v,1,0).",
                        "s(100000001,3,'desist',v,1,0)."
                    ]
                },
                "synonymWordnet_file":{
                    "type":"synonym",
                    "format":"wordnet",
                    "synonyms_path":"synonyms_wordnet.txt"
                },
                "synonymWithTokenizerSettings":{
                    "type":"synonym",
                    "synonyms":[
                        "kimchy => shay"
                    ]
                },
                "stop":{
                    "type": "stop",
                    "stopwords":["stop","synonym"]
                },
                "stop_within_synonym":{
                    "type": "stop",
                    "stopwords":["kimchy", "elasticsearch"]
                },
                "synonym_expand":{
                    "type":"synonym",
                    "synonyms":[
                        "kimchy , shay",
                        "dude , elasticsearch",
                        "abides , man!"
                    ]
                }
            }
        }
    }
}
