Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"analysis": {
"filter": {
"ar_stop_filter": {
"type": "stop",
"stopwords": ["_arabic_"]
},
"bg_stop_filter": {
"type": "stop",
"stopwords": ["_bulgarian_"]
},
"ca_stop_filter": {
"type": "stop",
"stopwords": ["_catalan_"]
},
"cs_stop_filter": {
"type": "stop",
"stopwords": ["_czech_"]
},
"da_stop_filter": {
"type": "stop",
"stopwords": ["_danish_"]
},
"de_stop_filter": {
"type": "stop",
"stopwords": ["_german_"]
},
"de_stem_filter": {
"type": "stemmer",
"name": "minimal_german"
},
"el_stop_filter": {
"type": "stop",
"stopwords": ["_greek_"]
},
"en_stop_filter": {
"type": "stop",
"stopwords": ["_english_"]
},
"en_stem_filter": {
"type": "stemmer",
"name": "minimal_english"
},
"es_stop_filter": {
"type": "stop",
"stopwords": ["_spanish_"]
},
"es_stem_filter": {
"type": "stemmer",
"name": "light_spanish"
},
"eu_stop_filter": {
"type": "stop",
"stopwords": ["_basque_"]
},
"fa_stop_filter": {
"type": "stop",
"stopwords": ["_persian_"]
},
"fi_stop_filter": {
"type": "stop",
"stopwords": ["_finnish_"]
},
"fi_stem_filter": {
"type": "stemmer",
"name": "light_finish"
},
"fr_stop_filter": {
"type": "stop",
"stopwords": ["_french_"]
},
"fr_stem_filter": {
"type": "stemmer",
"name": "minimal_french"
},
"he_stop_filter": {
"type": "stop",
"stopwords": ["אני", "את", "אתה", "אתך", "אתכן", "אתכם", "אנחנו", "אתן", "אתם", "הם", "הן", "היא", "הוא", "שלי", "שלו", "שלך", "שלה", "שלנו", "שלכם", "שלכן", "שלהם", "שלהן", "לי", "לו", "לה", "לנו", "לכם", "לכן", "להם", "להן", "אותה", "אותו", "זה", "זאת", "אלה", "אלו", "תחת", "מתחת", "מעל", "בין", "עם", "עד", "נגר", "על", "אל", "מול", "של", "אצל", "כמו", "אחר", "אותו", "בלי", "לפני", "אחרי", "מאחורי", "עלי", "עליו", "עליה", "עליך", "עלינו", "עליכם", "לעיכן", "עליהם", "עליהן", "כל", "כולם", "כולן", "כך", "ככה", "כזה", "זה", "זות", "אותי", "אותה", "אותם", "אותך", "אותו", "אותן", "אותנו", "ואת", "את", "אתכם", "אתכן", "איתי", "איתו", "איתך", "איתה", "איתם", "איתן", "איתנו", "איתכם", "איתכן", "יהיה", "תהיה", "היתי", "היתה", "היה", "להיות", "עצמי", "עצמו", "עצמה", "עצמם", "עצמן", "עצמנו", "עצמהם", "עצמהן", "מי", "מה", "איפה", "היכן", "במקום שבו", "אם", "לאן", "למקום שבו", "מקום בו", "איזה", "מהיכן", "איך", "כיצד", "באיזו מידה", "מתי", "בשעה ש", "כאשר", "כש", "למרות", "לפני", "אחרי", "מאיזו סיבה", "הסיבה שבגללה", "למה", "מדוע", "לאיזו תכלית", "כי", "יש", "אין", "אך", "מנין", "מאין", "מאיפה", "יכל", "יכלה", "יכלו", "יכול", "יכולה", "יכולים", "יכולות", "יוכלו", "יוכל", "מסוגל", "לא", "רק", "אולי", "אין", "לאו", "אי", "כלל", "נגד", "אם", "עם", "אל", "אלה", "אלו", "אף", "על", "מעל", "מתחת", "מצד", "בשביל", "לבין", "באמצע", "בתוך", "דרך", "מבעד", "באמצעות", "למעלה", "למטה", "מחוץ", "מן", "לעבר", "מכאן", "כאן", "הנה", "הרי", "פה", "שם", "אך", "ברם", "שוב", "אבל", "מבלי", "בלי", "מלבד", "רק", "בגלל", "מכיוון", "עד", "אשר", "ואילו", "למרות", "אס", "כמו", "כפי", "אז", "אחרי", "כן", "לכן", "לפיכך", "מאד", "עז", "מעט", "מעטים", "במידה", "שוב", "יותר", "מדי", "גם", "כן", "נו", "אחר", "אחרת", "אחרים", "אחרות", "אשר", "או"]
},
"hi_stop_filter": {
"type": "stop",
"stopwords": ["_hindi_"]
},
"hu_stop_filter": {
"type": "stop",
"stopwords": ["_hungarian_"]
},
"hu_stem_filter": {
"type": "stemmer",
"name": "light_hungarian"
},
"hy_stop_filter": {
"type": "stop",
"stopwords": ["_armenian_"]
},
"id_stop_filter": {
"type": "stop",
"stopwords": ["_indonesian_"]
},
"it_stop_filter": {
"type": "stop",
"stopwords": ["_italian_"]
},
"it_stem_filter": {
"type": "stemmer",
"name": "light_italian"
},
"nl_stop_filter": {
"type": "stop",
"stopwords": ["_dutch_"]
},
"no_stop_filter": {
"type": "stop",
"stopwords": ["_norwegian_"]
},
"pl_stop_filter": {
"type": "stop",
"stopwords": ["_polish_"]
},
"pl_stem_filter": {
"type": "stemmer",
"name": "minimal_polish"
},
"pt_stop_filter": {
"type": "stop",
"stopwords": ["_portuguese_"]
},
"pt_stem_filter": {
"type": "stemmer",
"name": "minimal_portuguese"
},
"ro_stop_filter": {
"type": "stop",
"stopwords": ["_romanian_"]
},
"ru_stop_filter": {
"type": "stop",
"stopwords": ["_russian_"]
},
"ru_stem_filter": {
"type": "stemmer",
"name": "light_russian"
},
"sv_stop_filter": {
"type": "stop",
"stopwords": ["_swedish_"]
},
"sv_stem_filter": {
"type": "stemmer",
"name": "light_swedish"
},
"tr_stop_filter": {
"type": "stop",
"stopwords": ["_turkish_"]
}
},
"analyzer": {
"ar_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "ar_stop_filter"]
},
"bg_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "bg_stop_filter"]
},
"ca_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "ca_stop_filter"]
},
"cs_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "cs_stop_filter"]
},
"da_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "da_stop_filter"]
},
"de_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "de_stop_filter", "de_stem_filter"]
},
"el_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "el_stop_filter"]
},
"en_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "en_stop_filter", "en_stem_filter"]
},
"es_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "es_stop_filter", "es_stem_filter"]
},
"eu_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "eu_stop_filter"]
},
"fa_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "fa_stop_filter"]
},
"fi_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "fi_stop_filter", "fi_stem_filter"]
},
"fr_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "fr_stop_filter", "fr_stem_filter"]
},
"he_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "he_stop_filter"]
},
"hi_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "hi_stop_filter"]
},
"hu_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "hu_stop_filter", "hu_stem_filter"]
},
"hy_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "hy_stop_filter"]
},
"id_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "id_stop_filter"]
},
"it_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "it_stop_filter", "it_stem_filter"]
},
"ja_analyzer": {
"type": "custom",
"tokenizer": "kuromoji_tokenizer",
"filter": ["icu_folding", "icu_normalizer"]
},
"ko_analyzer": {
"type": "cjk"
},
"nl_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "nl_stop_filter"]
},
"no_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "no_stop_filter"]
},
"pl_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "pl_stop_filter", "pl_stem_filter"]
},
"pt_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "pt_stop_filter", "pt_stem_filter"]
},
"ro_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "ro_stop_filter"]
},
"ru_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "ru_stop_filter", "ru_stem_filter"]
},
"sv_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "sv_stop_filter", "sv_stem_filter"]
},
"tr_analyzer": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer", "tr_stop_filter"]
},
"zh_analyzer": {
"type": "custom",
"tokenizer": "smartcn_sentence",
"filter": ["icu_folding", "icu_normalizer", "smartcn_word"]
},
"default": {
"type": "custom",
"tokenizer": "icu_tokenizer",
"filter": ["icu_folding", "icu_normalizer"]
}
},
"tokenizer": {
"kuromoji": {
"type": "kuromoji_tokenizer",
"mode": "search"
}
}
}
},
"mappings": {
"classifier": {
"_id": {
"index": "analyzed",
"store": "yes"
},
"properties": {
"content" : {
"type" : "langdetect"
},
"content.ar": {
"type" : "string",
"analyzer" : "ar_analyzer"
},
"content.bg": {
"type" : "string",
"analyzer" : "bg_analyzer"
},
"content.ca": {
"type" : "string",
"analyzer" : "ca_analyzer"
},
"content.cs": {
"type" : "string",
"analyzer" : "cs_analyzer"
},
"content.da": {
"type" : "string",
"analyzer" : "da_analyzer"
},
"content.de": {
"type" : "string",
"analyzer" : "de_analyzer"
},
"content.el": {
"type" : "string",
"analyzer" : "el_analyzer"
},
"content.en": {
"type" : "string",
"analyzer" : "en_analyzer"
},
"content.es": {
"type" : "string",
"analyzer" : "es_analyzer"
},
"content.fa": {
"type" : "string",
"analyzer" : "fa_analyzer"
},
"content.fi": {
"type" : "string",
"analyzer" : "fi_analyzer"
},
"content.fr": {
"type" : "string",
"analyzer" : "fr_analyzer"
},
"content.he": {
"type" : "string",
"analyzer" : "he_analyzer"
},
"content.hi": {
"type" : "string",
"analyzer" : "hi_analyzer"
},
"content.hu": {
"type" : "string",
"analyzer" : "hu_analyzer"
},
"content.hy": {
"type" : "string",
"analyzer" : "hy_analyzer"
},
"content.id": {
"type" : "string",
"analyzer" : "id_analyzer"
},
"content.it": {
"type" : "string",
"analyzer" : "it_analyzer"
},
"content.ja": {
"type" : "string",
"analyzer" : "ja_analyzer"
},
"content.ko": {
"type" : "string",
"analyzer" : "ko_analyzer"
},
"content.nl": {
"type" : "string",
"analyzer" : "nl_analyzer"
},
"content.no": {
"type" : "string",
"analyzer" : "no_analyzer"
},
"content.pl": {
"type" : "string",
"analyzer" : "pl_analyzer"
},
"content.pt": {
"type" : "string",
"analyzer" : "pt_analyzer"
},
"content.ro": {
"type" : "string",
"analyzer" : "ro_analyzer"
},
"content.ru": {
"type" : "string",
"analyzer" : "ru_analyzer"
},
"content.sv": {
"type" : "string",
"analyzer" : "sv_analyzer"
},
"content.tr": {
"type" : "string",
"analyzer" : "tr_analyzer"
},
"content.zh": {
"type" : "string",
"analyzer" : "zh_analyzer"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.