728x90
Elasticsearch 의 모든 인덱스는 두 개의 정보 단위를 갖고 있는데, 바로 Settings 와 Mapping 이다.
※ Settings
- 처음 인덱스가 생성될 때 몇가지 정보들이 자동으로 생성되는데, 샤드 수(number_of_shards) 나 복제본 수(number_of_replicas) 같은 정보는 settings 아래 설정된다.
- analyzer, tokenizer, filter 와 같은 정보도 settings 파일 내부에 정의한다.
※ Mappings
- Elasticsearch 는 동적 매핑을 지원하기 때문에 미리 정의하지 않아도 인덱스에 도큐먼트를 새로 추가하면 자동으로 매핑이 생성된다.
- 매핑이 자동으로 생성될 때는 필드의 값을 보고 타입을 예상하는데, 항상 그 필드가 포함될 수 있는 가장 넓은 범위 형태의 데이터 타입을 선택한다.
- 125 의 경우 자연수를 저장하는 데이터 타입 중 가장 큰 long 으로 지정된다.
- "1562-12-01T00:00:00" 의 경우 JSON 도큐먼트에서 사용되는 ISO8601 표준 날짜 형식의 데이터를 준수하였기 때문에 date 타입으로 인식되었으나, "1 Dec 1562 00:00:00" 와 같이 다른 포맷으로 입력되면 보통 text 타입으로 인식된다.
- 데이터가 입력되기 전에 데이터의 타입과 정보를 mappings 파일 내부에 정의해 놓고 인덱스를 생성하면, 해당 매핑 정보에 맞춰서 데이터가 입력된다.
4. Elasticsearch Settings, Mappings 설정하기
5. logstash filter plugins 다루기
Elasticsearch Settings, Mappings 설정하기
1. 인덱스 생성 후 settings 설정
1) 인덱스 생성
PUT test-index
2) 인덱스 CLOSE (settings 설정을 하기 위해선 인덱스를 닫아놔야 한다. )
POST test-index/_close
3) 인덱스 settings 설정
PUT test-index/_settings
{
"index":{
"max_ngram_diff":"100",
"refresh_interval":"3s",
"max_result_window":"10000000",
"unassigned":{
"node_left":{
"delayed_timeout":"5m"
}
},
"analysis":{
"filter":{
"synonym_index_time_typo":{
"type":"synonym",
"synonyms_path":"dictionary/synonym_typo.txt"
},
"word_split_delimiter":{
"split_on_numerics":"true",
"type":"word_delimiter",
"catenate_numbers":"false",
"preserve_original":"false",
"stem_english_possessive":"false",
"catenate_words":"false"
},
"english_stemmer":{
"type":"stemmer",
"language":"english"
},
"word_combine_delimiter":{
"split_on_numerics":"false",
"generate_word_parts":"false",
"catenate_words":"true",
"catenate_all":"true",
"type":"word_delimiter",
"catenate_numbers":"true",
"stem_english_possessive":"false"
},
"english_stop":{
"type":"stop",
"stopwords":"_english_"
},
"synonyms":{
"type":"synonym_graph",
"synonyms_path":"dictionary/synonym_compound.txt",
"updateable":"true"
},
"soundex_vowels":{
"type":"musinsa_soundex_vowels",
"vowels_wae":"false"
},
"autocomplete_edge":{
"type":"edge_ngram",
"min_gram":"2",
"max_gram":"30"
},
"stopword":{
"type":"stop",
"updateable":"true",
"stopwords_path":"dictionary/stopwords.txt"
},
"english_possessive_stemmer":{
"type":"stemmer",
"language":"possessive_english"
},
"synonym_typo":{
"type":"synonym",
"synonyms_path":"dictionary/synonym_typo.txt",
"updateable":"true"
},
"synonym_soundex":{
"type":"synonym",
"synonyms_path":"dictionary/synonym_compound.txt",
"updateable":"true"
}
},
"char_filter":{
"replace_space_char":{
"pattern":"\"\"[\n\r\\s\t]+\"\"",
"type":"pattern_replace",
"replacement":""
},
"underbar_replace_whitespace_char":{
"pattern":"_",
"type":"pattern_replace",
"replacement":" "
}
},
"analyzer":{
"completion_index_mid_chosung":{
"filter":[
"lowercase",
"trim",
"stopword",
"musinsa_chosung",
"autocomplete_edge"
],
"type":"custom",
"tokenizer":"standard"
},
"completion_query_local_language_ngram_typo":{
"filter":[
"word_combine_delimiter",
"lowercase",
"trim",
"soundex_vowels"
],
"type":"custom",
"tokenizer":"keyword"
},
"search_index_local_language_to_english":{
"filter":[
"lowercase",
"trim",
"synonym_index_time_typo",
"stopword"
],
"char_filter":[
"replace_space_char"
],
"tokenizer":"standard"
},
"search_index_keyword":{
"filter":[
"lowercase",
"trim"
],
"type":"custom",
"tokenizer":"keyword"
},
"search_index_chosung":{
"filter":[
"lowercase",
"trim",
"musinsa_chosung"
],
"type":"custom",
"tokenizer":"standard"
},
"search_query_language_to_english":{
"filter":[
"musinsa_typo_kor2eng",
"synonyms",
"lowercase"
],
"type":"custom",
"tokenizer":"standard"
},
"completion_index_edge_ngram":{
"filter":[
"lowercase",
"trim"
],
"tokenizer":"ngram_edge_tokenizer"
},
"completion_index_left_local_language_to_english":{
"filter":[
"lowercase",
"trim",
"stopword",
"synonym_index_time_typo",
"musinsa_jamo_v2",
"autocomplete_edge"
],
"char_filter":[
"replace_space_char"
],
"type":"custom",
"tokenizer":"keyword"
},
"search_query_chosung":{
"filter":[
"lowercase",
"trim"
],
"type":"custom",
"tokenizer":"standard"
},
"suggest_index_edge_left_chosung":{
"filter":[
"lowercase",
"trim",
"stopword",
"musinsa_chosung",
"autocomplete_edge"
],
"type":"custom",
"tokenizer":"keyword"
},
"completion_local_language_to_english":{
"filter":[
"lowercase",
"trim",
"stopword",
"musinsa_typo_kor2eng"
],
"char_filter":[
"replace_space_char"
],
"type":"custom",
"tokenizer":"standard"
},
"completion_query_mid_chosung":{
"filter":[
"lowercase",
"trim",
"musinsa_jamo"
],
"type":"custom",
"tokenizer":"standard"
},
"search_query_keyword":{
"filter":[
"lowercase",
"trim"
],
"type":"custom",
"tokenizer":"keyword"
},
"search_query_english_to_korean":{
"filter":[
"lowercase",
"trim"
],
"char_filter":[
"musinsa_char_eng2kor"
],
"type":"custom",
"tokenizer":"standard"
},
"search_query_ngram":{
"filter":[
"lowercase",
"trim"
],
"type":"custom",
"tokenizer":"keyword"
},
"completion_query_standard":{
"filter":[
"lowercase",
"trim",
"musinsa_jamo"
],
"type":"custom",
"tokenizer":"standard"
},
"search_index_language_to_english":{
"filter":[
"lowercase",
"trim",
"stopword"
],
"tokenizer":"korean_nori_tokenizer"
},
"suggest_index_english_to_korean":{
"filter":[
"lowercase",
"trim",
"stopword"
],
"tokenizer":"korean_nori_tokenizer"
},
"search_query_korean_typo":{
"filter":[
"lowercase",
"trim",
"synonyms",
"musinsa_soundex"
],
"type":"custom",
"tokenizer":"korean_nori_tokenizer"
},
"search_index_ngram":{
"filter":[
"lowercase"
],
"char_filter":[
"html_strip"
],
"tokenizer":"ngram_tokenizer"
},
"suggest_query_soundex_vowels":{
"filter":[
"word_combine_delimiter",
"lowercase",
"trim",
"soundex_vowels"
],
"type":"custom",
"tokenizer":"standard"
},
"search_index_synonym_typo":{
"filter":[
"lowercase",
"trim"
],
"type":"custom",
"tokenizer":"standard"
},
"completion_query_local_language_to_english":{
"filter":[
"lowercase",
"trim",
"stopword",
"musinsa_typo_kor2eng"
],
"char_filter":[
"replace_space_char"
],
"type":"custom",
"tokenizer":"standard"
},
"search_index_english":{
"filter":[
"word_split_delimiter",
"english_possessive_stemmer",
"lowercase",
"english_stop",
"english_stemmer"
],
"tokenizer":"standard"
},
"search_index_english_to_korean":{
"filter":[
"lowercase",
"trim",
"stopword"
],
"tokenizer":"standard"
},
"search_index_korean_synonym_typo":{
"filter":[
"lowercase",
"trim"
],
"char_filter":[
"underbar_replace_whitespace_char"
],
"type":"custom",
"tokenizer":"korean_nori_tokenizer"
},
"completion_query_edge_concat":{
"filter":[
"lowercase",
"trim",
"musinsa_jamo"
],
"type":"custom",
"tokenizer":"keyword"
},
"search_query_korean":{
"filter":[
"lowercase",
"trim",
"synonyms"
],
"type":"custom",
"tokenizer":"korean_nori_tokenizer"
},
"completion_query_english_to_local_language":{
"filter":[
"lowercase",
"trim",
"stopword",
"musinsa_typo_eng2kor",
"musinsa_jamo_v2"
],
"char_filter":[
"replace_space_char"
],
"type":"custom",
"tokenizer":"standard"
},
"completion_query_edge_ngram":{
"filter":[
"lowercase",
"trim"
],
"type":"custom",
"tokenizer":"standard"
},
"search_query_synonym_typo":{
"filter":[
"lowercase",
"trim",
"synonym_typo"
],
"type":"custom",
"tokenizer":"standard"
},
"completion_query_left_english_to_local_language":{
"filter":[
"lowercase",
"trim",
"stopword",
"musinsa_typo_eng2kor",
"musinsa_jamo_v2"
],
"char_filter":[
"replace_space_char"
],
"type":"custom",
"tokenizer":"keyword"
},
"search_index_synonym_trim":{
"filter":[
"lowercase",
"trim"
],
"char_filter":[
"replace_space_char"
],
"type":"custom",
"tokenizer":"standard"
},
"search_query_local_language_to_english":{
"filter":[
"musinsa_typo_kor2eng",
"lowercase",
"synonym_typo"
],
"char_filter":[
"replace_space_char"
],
"type":"custom",
"tokenizer":"standard"
},
"search_query_standard":{
"filter":[
"lowercase",
"trim"
],
"type":"custom",
"tokenizer":"standard"
},
"completion_index_left_jamo":{
"filter":[
"lowercase",
"trim",
"stopword",
"synonym_index_time_typo",
"musinsa_jamo",
"autocomplete_edge"
],
"type":"custom",
"tokenizer":"keyword"
},
"completion_query_left_local_language_to_english":{
"filter":[
"lowercase",
"trim",
"stopword",
"musinsa_typo_kor2eng"
],
"char_filter":[
"replace_space_char"
],
"type":"custom",
"tokenizer":"keyword"
},
"completion_query_korean":{
"filter":[
"lowercase",
"trim",
"stopword",
"musinsa_jamo"
],
"type":"custom",
"tokenizer":"korean_nori_tokenizer"
},
"search_index_concat":{
"filter":[
"word_combine_delimiter",
"lowercase",
"trim"
],
"type":"custom",
"tokenizer":"keyword"
},
"completion_index_standard":{
"filter":[
"lowercase",
"trim",
"stopword",
"musinsa_jamo",
"autocomplete_edge"
],
"type":"custom",
"tokenizer":"standard"
},
"search_query_english":{
"filter":[
"word_split_delimiter",
"english_possessive_stemmer",
"lowercase",
"english_stop",
"english_stemmer"
],
"tokenizer":"standard"
},
"completion_query_left_jamo":{
"filter":[
"lowercase",
"trim",
"musinsa_jamo"
],
"type":"custom",
"tokenizer":"keyword"
},
"search_index_synonym_soundex":{
"filter":[
"lowercase",
"trim"
],
"type":"custom",
"tokenizer":"standard"
},
"search_query_korean_synonym_typo":{
"filter":[
"lowercase",
"trim",
"synonym_typo"
],
"type":"custom",
"tokenizer":"korean_nori_tokenizer"
},
"completion_index_edge_concat":{
"filter":[
"word_combine_delimiter",
"lowercase",
"trim",
"stopword",
"musinsa_jamo",
"autocomplete_edge"
],
"type":"custom",
"tokenizer":"keyword"
},
"completion_query_mid_jamo":{
"filter":[
"lowercase",
"trim",
"musinsa_jamo"
],
"type":"custom",
"tokenizer":"standard"
},
"search_index_korean_typo":{
"filter":[
"lowercase",
"trim",
"musinsa_soundex"
],
"type":"custom",
"tokenizer":"korean_nori_tokenizer"
},
"search_query_synonym_trim":{
"filter":[
"lowercase",
"trim"
],
"char_filter":[
"replace_space_char"
],
"type":"custom",
"tokenizer":"standard"
},
"search_query_concat":{
"filter":[
"word_combine_delimiter",
"lowercase",
"trim"
],
"type":"custom",
"tokenizer":"keyword"
},
"search_query_synonym_soundex":{
"filter":[
"lowercase",
"trim",
"synonym_soundex"
],
"type":"custom",
"tokenizer":"standard"
},
"completion_index_english_to_local_language":{
"filter":[
"lowercase",
"trim",
"stopword",
"musinsa_jamo_v2",
"autocomplete_edge"
],
"char_filter":[
"replace_space_char"
],
"type":"custom",
"tokenizer":"keyword"
},
"suggest_query_english_to_korean":{
"filter":[
"lowercase",
"trim",
"synonyms"
],
"char_filter":[
"musinsa_char_eng2kor"
],
"type":"custom",
"tokenizer":"korean_nori_tokenizer"
},
"search_index_standard":{
"filter":[
"lowercase",
"trim"
],
"type":"custom",
"tokenizer":"standard"
},
"suggest_index_soundex_vowels":{
"filter":[
"word_combine_delimiter",
"lowercase",
"trim",
"soundex_vowels"
],
"type":"custom",
"tokenizer":"standard"
},
"suggest_query_keyword":{
"filter":[
"lowercase",
"trim",
"musinsa_jamo"
],
"type":"custom",
"tokenizer":"keyword"
},
"completion_index_edge_korean":{
"filter":[
"lowercase",
"trim",
"stopword",
"musinsa_jamo",
"autocomplete_edge"
],
"type":"custom",
"tokenizer":"korean_nori_tokenizer"
},
"completion_index_local_language_to_english":{
"filter":[
"lowercase",
"trim",
"stopword",
"synonym_index_time_typo",
"musinsa_jamo_v2",
"autocomplete_edge"
],
"char_filter":[
"replace_space_char"
],
"type":"custom",
"tokenizer":"standard"
},
"completion_index_local_language_ngram_typo":{
"filter":[
"word_combine_delimiter",
"lowercase",
"trim",
"stopword",
"soundex_vowels",
"autocomplete_edge"
],
"type":"custom",
"tokenizer":"keyword"
},
"completion_index_mid_jamo":{
"filter":[
"lowercase",
"trim",
"stopword",
"musinsa_jamo_v2",
"autocomplete_edge"
],
"type":"custom",
"tokenizer":"standard"
},
"search_index_korean":{
"filter":[
"lowercase",
"trim",
"stopword"
],
"type":"custom",
"tokenizer":"korean_nori_tokenizer"
}
},
"tokenizer":{
"ngram_edge_tokenizer":{
"token_chars":[
"letter",
"digit"
],
"min_gram":"1",
"type":"edge_ngram",
"max_gram":"10"
},
"korean_nori_tokenizer":{
"type":"nori_tokenizer",
"user_dictionary":"dictionary/user_dic.txt",
"decompound_mode":"discard"
},
"ngram_tokenizer":{
"token_chars":[
"letter",
"digit"
],
"min_gram":"1",
"type":"ngram",
"max_gram":"10"
}
}
},
"number_of_replicas":"1",
"routing":{
"allocation":{
"include":{
"_tier_preference":"data_content"
}
}
},
"number_of_shards":"3",
"max_shingle_diff":"100"
}
}
* nori_tokenizer 에는 다음과 같은 옵션들이 있다.
- user_dictionary : 사용자 사전이 저장된 파일의 경로를 입력
- user_dictionary_rules : 사용자 정의 사전을 배열로 입력
- decompound_mode : 합성어의 저장 방식을 결정
- none : 어근을 분리하지 않고 완성된 합성어만 저장합니다.
- discard (디폴트) : 합성어를 분리하여 각 어근만 저장합니다.
- mixed : 어근과 합성어를 모두 저장합니다.
* nori_part_of_speech 토큰 필터를 이용해서 제거할 품사 정보의 지정도 가능하다.
(출처 : 꼬꼬마 한국어 형태소 분석기 - http://kkma.snu.ac.kr/documents/?doc=postag)
4) 인덱스 OPEN
POST test-index/_open
2. mappings 설정
- text: 문자열을 텀 단위로 쪼개어 역 색인(inverted index) 구조 생성
- keyword: 문자열을 하나의 토큰으로 저장
- nested: 객체 타입
- join: 같은 인덱스의 문서 내에서 상위/하위 관계를 생성
PUT test-index/_mappings
{
"properties":{
"badge":{
"properties":{
"color":{
"type":"keyword"
},
"title":{
"type":"keyword"
}
}
},
"brand":{
"properties":{
"custom":{
"properties":{
"description":{
"type":"keyword"
},
"image":{
"properties":{
"background_image_url":{
"type":"keyword"
},
"mobile":{
"type":"keyword"
},
"pc":{
"type":"keyword"
}
}
},
"primary_language":{
"type":"keyword"
},
"state":{
"type":"keyword"
}
}
},
"id":{
"type":"keyword"
},
"name":{
"properties":{
"english":{
"type":"keyword",
"fields":{
"completion_edge_concat":{
"type":"text",
"analyzer":"completion_index_edge_concat",
"search_analyzer":"completion_query_edge_concat"
},
"completion_edge_ngram":{
"type":"text",
"analyzer":"completion_index_edge_ngram",
"search_analyzer":"completion_query_edge_ngram"
},
"completion_left_local_language_to_english":{
"type":"text",
"analyzer":"completion_index_left_local_language_to_english",
"search_analyzer":"completion_query_left_local_language_to_english"
},
"completion_local_language_to_english":{
"type":"text",
"analyzer":"completion_index_local_language_to_english",
"search_analyzer":"completion_query_local_language_to_english"
},
"completion_standard":{
"type":"text",
"analyzer":"completion_index_standard",
"search_analyzer":"completion_query_standard"
},
"search_concat":{
"type":"text",
"analyzer":"search_index_concat",
"search_analyzer":"search_query_concat"
},
"search_english":{
"type":"text",
"analyzer":"search_index_english",
"search_analyzer":"search_query_english"
},
"search_local_language_to_english":{
"type":"text",
"analyzer":"search_index_language_to_english",
"search_analyzer":"search_query_language_to_english"
},
"search_ngram":{
"type":"text",
"analyzer":"search_index_ngram",
"search_analyzer":"search_query_ngram"
},
"search_standard":{
"type":"text",
"analyzer":"search_index_standard",
"search_analyzer":"search_query_standard"
},
"search_synonym_soundex":{
"type":"text",
"analyzer":"search_index_synonym_soundex",
"search_analyzer":"search_query_synonym_soundex"
},
"search_synonym_typo":{
"type":"text",
"analyzer":"search_index_synonym_typo",
"search_analyzer":"search_query_synonym_typo"
}
}
},
"entire_english":{
"type":"keyword"
},
"entire_local":{
"type":"keyword"
},
"local":{
"type":"keyword",
"fields":{
"completion_chosung":{
"type":"text",
"analyzer":"completion_index_mid_chosung",
"search_analyzer":"completion_query_mid_chosung"
},
"completion_edge_concat":{
"type":"text",
"analyzer":"completion_index_edge_concat",
"search_analyzer":"completion_query_edge_concat"
},
"completion_edge_ngram":{
"type":"text",
"analyzer":"completion_index_edge_ngram",
"search_analyzer":"completion_query_edge_ngram"
},
"completion_english_to_local_language":{
"type":"text",
"analyzer":"completion_index_english_to_local_language",
"search_analyzer":"completion_query_english_to_local_language"
},
"completion_jamo":{
"type":"text",
"analyzer":"completion_index_mid_jamo",
"search_analyzer":"completion_query_mid_jamo"
},
"completion_left_english_to_local_language":{
"type":"text",
"analyzer":"completion_index_english_to_local_language",
"search_analyzer":"completion_query_left_english_to_local_language"
},
"completion_left_jamo":{
"type":"text",
"analyzer":"completion_index_left_jamo",
"search_analyzer":"completion_query_left_jamo"
},
"completion_left_local_language_to_english":{
"type":"text",
"analyzer":"completion_index_left_local_language_to_english",
"search_analyzer":"completion_query_left_local_language_to_english"
},
"completion_local_language":{
"type":"text",
"analyzer":"completion_index_edge_korean",
"search_analyzer":"completion_query_korean"
},
"completion_local_language_ngram_typo":{
"type":"text",
"analyzer":"completion_index_local_language_ngram_typo",
"search_analyzer":"completion_query_local_language_ngram_typo"
},
"completion_local_language_to_english":{
"type":"text",
"analyzer":"completion_index_local_language_to_english",
"search_analyzer":"completion_local_language_to_english"
},
"search_chosung":{
"type":"text",
"analyzer":"search_index_chosung",
"search_analyzer":"search_query_chosung"
},
"search_concat":{
"type":"text",
"analyzer":"search_index_concat",
"search_analyzer":"search_query_concat"
},
"search_keyword":{
"type":"text",
"analyzer":"search_index_keyword",
"search_analyzer":"search_query_keyword"
},
"search_keyword_synonym_trim":{
"type":"text",
"analyzer":"search_index_synonym_trim",
"search_analyzer":"search_query_synonym_trim"
},
"search_korean":{
"type":"text",
"analyzer":"search_index_korean",
"search_analyzer":"search_query_korean"
},
"search_korean_typo":{
"type":"text",
"analyzer":"search_index_korean_typo",
"search_analyzer":"search_query_korean_typo"
},
"search_ngram":{
"type":"text",
"analyzer":"search_index_ngram",
"search_analyzer":"search_query_ngram"
},
"search_standard":{
"type":"text",
"analyzer":"search_index_standard",
"search_analyzer":"search_query_standard"
},
"search_synonym_typo":{
"type":"text",
"analyzer":"search_index_korean_synonym_typo",
"search_analyzer":"search_query_korean_synonym_typo"
},
"suggest_english_to_local_language":{
"type":"text",
"analyzer":"suggest_index_english_to_korean",
"search_analyzer":"suggest_query_english_to_korean"
},
"suggest_left_chosung":{
"type":"text",
"analyzer":"suggest_index_edge_left_chosung",
"search_analyzer":"suggest_query_keyword"
},
"suggest_soundex_vowels":{
"type":"text",
"analyzer":"suggest_index_soundex_vowels",
"search_analyzer":"suggest_query_soundex_vowels"
}
}
}
}
},
"tag":{
"properties":{
"label":{
"type":"keyword"
},
"synonyms":{
"type":"keyword"
},
"system":{
"type":"keyword"
}
}
}
}
},
"category":{
"properties":{
"code":{
"type":"keyword"
},
"depth":{
"type":"nested",
"properties":{
"code1":{
"type":"keyword"
},
"code2":{
"type":"keyword"
},
"code3":{
"type":"keyword"
},
"name1":{
"type":"keyword"
},
"name2":{
"type":"keyword"
},
"name3":{
"type":"keyword"
},
"concatenation1":{
"type":"keyword"
},
"concatenation2":{
"type":"keyword"
},
"concatenation3":{
"type":"keyword"
},
"entire_name":{
"type":"keyword"
},
"id":{
"type":"keyword"
},
"sequence":{
"type":"integer"
},
"type":{
"type":"keyword"
}
}
},
"entire_name":{
"type":"keyword"
},
"gender":{
"properties":{
"code":{
"type":"keyword"
},
"filter":{
"type":"keyword"
},
"tag":{
"type":"keyword",
"fields":{
"search_keyword_synonym_trim":{
"type":"text",
"analyzer":"search_index_synonym_trim",
"search_analyzer":"search_query_synonym_trim"
},
"search_synonym_typo":{
"type":"text",
"analyzer":"search_index_korean_synonym_typo",
"search_analyzer":"search_query_korean_synonym_typo"
},
"search_korean":{
"type":"text",
"analyzer":"search_index_korean",
"search_analyzer":"search_query_korean"
}
}
}
}
},
"name":{
"properties":{
"english":{
"type":"keyword",
"fields":{
"completion_edge_concat":{
"type":"text",
"analyzer":"completion_index_edge_concat",
"search_analyzer":"completion_query_edge_concat"
},
"completion_edge_ngram":{
"type":"text",
"analyzer":"completion_index_edge_ngram",
"search_analyzer":"completion_query_edge_ngram"
},
"completion_left_local_language_to_english":{
"type":"text",
"analyzer":"completion_index_left_local_language_to_english",
"search_analyzer":"completion_query_left_local_language_to_english"
},
"completion_local_language_to_english":{
"type":"text",
"analyzer":"completion_index_local_language_to_english",
"search_analyzer":"completion_query_local_language_to_english"
},
"completion_standard":{
"type":"text",
"analyzer":"completion_index_standard",
"search_analyzer":"completion_query_standard"
},
"search_concat":{
"type":"text",
"analyzer":"search_index_concat",
"search_analyzer":"search_query_concat"
},
"search_english":{
"type":"text",
"analyzer":"search_index_english",
"search_analyzer":"search_query_english"
},
"search_english_to_local_language":{
"type":"text",
"analyzer":"search_index_english_to_korean",
"search_analyzer":"search_query_english_to_korean"
},
"search_local_language_to_english":{
"type":"text",
"analyzer":"search_index_local_language_to_english",
"search_analyzer":"search_query_local_language_to_english"
},
"search_ngram":{
"type":"text",
"analyzer":"search_index_ngram",
"search_analyzer":"search_query_ngram"
},
"search_standard":{
"type":"text",
"analyzer":"search_index_standard",
"search_analyzer":"search_query_standard"
},
"search_synonym_soundex":{
"type":"text",
"analyzer":"search_index_synonym_soundex",
"search_analyzer":"search_query_synonym_soundex"
},
"search_synonym_typo":{
"type":"text",
"analyzer":"search_index_synonym_typo",
"search_analyzer":"search_query_synonym_typo"
}
}
},
"local":{
"type":"keyword",
"fields":{
"completion_chosung":{
"type":"text",
"analyzer":"completion_index_mid_chosung",
"search_analyzer":"completion_query_mid_chosung"
},
"completion_edge_concat":{
"type":"text",
"analyzer":"completion_index_edge_concat",
"search_analyzer":"completion_query_edge_concat"
},
"completion_edge_ngram":{
"type":"text",
"analyzer":"completion_index_edge_ngram",
"search_analyzer":"completion_query_edge_ngram"
},
"completion_english_to_local_language":{
"type":"text",
"analyzer":"completion_index_english_to_local_language",
"search_analyzer":"completion_query_english_to_local_language"
},
"completion_jamo":{
"type":"text",
"analyzer":"completion_index_mid_jamo",
"search_analyzer":"completion_query_mid_jamo"
},
"completion_left_english_to_local_language":{
"type":"text",
"analyzer":"completion_index_english_to_local_language",
"search_analyzer":"completion_query_left_english_to_local_language"
},
"completion_left_jamo":{
"type":"text",
"analyzer":"completion_index_left_jamo",
"search_analyzer":"completion_query_left_jamo"
},
"completion_left_local_language_to_english":{
"type":"text",
"analyzer":"completion_index_left_local_language_to_english",
"search_analyzer":"completion_query_left_local_language_to_english"
},
"completion_local_language":{
"type":"text",
"analyzer":"completion_index_edge_korean",
"search_analyzer":"completion_query_korean"
},
"completion_local_language_ngram_typo":{
"type":"text",
"analyzer":"completion_index_local_language_ngram_typo",
"search_analyzer":"completion_query_local_language_ngram_typo"
},
"completion_local_language_to_english":{
"type":"text",
"analyzer":"completion_index_local_language_to_english",
"search_analyzer":"completion_local_language_to_english"
},
"search_chosung":{
"type":"text",
"analyzer":"search_index_chosung",
"search_analyzer":"search_query_chosung"
},
"search_concat":{
"type":"text",
"analyzer":"search_index_concat",
"search_analyzer":"search_query_concat"
},
"search_english_to_local_language":{
"type":"text",
"analyzer":"search_index_english_to_korean",
"search_analyzer":"search_query_english_to_korean"
},
"search_keyword":{
"type":"text",
"analyzer":"search_index_keyword",
"search_analyzer":"search_query_keyword"
},
"search_keyword_synonym_trim":{
"type":"text",
"analyzer":"search_index_synonym_trim",
"search_analyzer":"search_query_synonym_trim"
},
"search_korean":{
"type":"text",
"analyzer":"search_index_korean",
"search_analyzer":"search_query_korean"
},
"search_korean_typo":{
"type":"text",
"analyzer":"search_index_korean_typo",
"search_analyzer":"search_query_korean_typo"
},
"search_local_language_to_english":{
"type":"text",
"analyzer":"search_index_local_language_to_english",
"search_analyzer":"search_query_local_language_to_english"
},
"search_ngram":{
"type":"text",
"analyzer":"search_index_ngram",
"search_analyzer":"search_query_ngram"
},
"search_standard":{
"type":"text",
"analyzer":"search_index_standard",
"search_analyzer":"search_query_standard"
},
"search_synonym_typo":{
"type":"text",
"analyzer":"search_index_korean_synonym_typo",
"search_analyzer":"search_query_korean_synonym_typo"
},
"suggest_english_to_local_language":{
"type":"text",
"analyzer":"suggest_index_english_to_korean",
"search_analyzer":"suggest_query_english_to_korean"
},
"suggest_left_chosung":{
"type":"text",
"analyzer":"suggest_index_edge_left_chosung",
"search_analyzer":"suggest_query_keyword"
},
"suggest_soundex_vowels":{
"type":"text",
"analyzer":"suggest_index_soundex_vowels",
"search_analyzer":"suggest_query_soundex_vowels"
}
}
}
}
},
"rank":{
"properties":{
"point":{
"type":"long"
},
"sequence":{
"type":"integer"
},
"tag":{
"type":"keyword"
}
}
},
"sequence":{
"type":"long"
},
"system_tag":{
"type":"keyword"
},
"type":{
"type":"keyword"
},
"use_yn":{
"type":"keyword"
}
}
},
"clearance":{
"properties":{
"clearance_yn":{
"type":"keyword"
},
"month":{
"type":"keyword"
},
"year":{
"type":"keyword"
}
}
},
"color":{
"properties":{
"code":{
"type":"keyword"
},
"name":{
"properties":{
"english":{
"type":"keyword",
"fields":{
"completion_edge_concat":{
"type":"text",
"analyzer":"completion_index_edge_concat",
"search_analyzer":"completion_query_edge_concat"
},
"completion_edge_ngram":{
"type":"text",
"analyzer":"completion_index_edge_ngram",
"search_analyzer":"completion_query_edge_ngram"
},
"completion_left_local_language_to_english":{
"type":"text",
"analyzer":"completion_index_left_local_language_to_english",
"search_analyzer":"completion_query_left_local_language_to_english"
},
"completion_local_language_to_english":{
"type":"text",
"analyzer":"completion_index_local_language_to_english",
"search_analyzer":"completion_query_local_language_to_english"
},
"completion_standard":{
"type":"text",
"analyzer":"completion_index_standard",
"search_analyzer":"completion_query_standard"
},
"search_concat":{
"type":"text",
"analyzer":"search_index_concat",
"search_analyzer":"search_query_concat"
},
"search_english":{
"type":"text",
"analyzer":"search_index_english",
"search_analyzer":"search_query_english"
},
"search_english_to_local_language":{
"type":"text",
"analyzer":"search_index_english_to_korean",
"search_analyzer":"search_query_english_to_korean"
},
"search_local_language_to_english":{
"type":"text",
"analyzer":"search_index_local_language_to_english",
"search_analyzer":"search_query_local_language_to_english"
},
"search_ngram":{
"type":"text",
"analyzer":"search_index_ngram",
"search_analyzer":"search_query_ngram"
},
"search_standard":{
"type":"text",
"analyzer":"search_index_standard",
"search_analyzer":"search_query_standard"
},
"search_synonym_soundex":{
"type":"text",
"analyzer":"search_index_synonym_soundex",
"search_analyzer":"search_query_synonym_soundex"
},
"search_synonym_typo":{
"type":"text",
"analyzer":"search_index_synonym_typo",
"search_analyzer":"search_query_synonym_typo"
}
}
},
"local":{
"type":"keyword",
"fields":{
"completion_chosung":{
"type":"text",
"analyzer":"completion_index_mid_chosung",
"search_analyzer":"completion_query_mid_chosung"
},
"completion_edge_concat":{
"type":"text",
"analyzer":"completion_index_edge_concat",
"search_analyzer":"completion_query_edge_concat"
},
"completion_edge_ngram":{
"type":"text",
"analyzer":"completion_index_edge_ngram",
"search_analyzer":"completion_query_edge_ngram"
},
"completion_english_to_local_language":{
"type":"text",
"analyzer":"completion_index_english_to_local_language",
"search_analyzer":"completion_query_english_to_local_language"
},
"completion_jamo":{
"type":"text",
"analyzer":"completion_index_mid_jamo",
"search_analyzer":"completion_query_mid_jamo"
},
"completion_left_english_to_local_language":{
"type":"text",
"analyzer":"completion_index_english_to_local_language",
"search_analyzer":"completion_query_left_english_to_local_language"
},
"completion_left_jamo":{
"type":"text",
"analyzer":"completion_index_left_jamo",
"search_analyzer":"completion_query_left_jamo"
},
"completion_left_local_language_to_english":{
"type":"text",
"analyzer":"completion_index_left_local_language_to_english",
"search_analyzer":"completion_query_left_local_language_to_english"
},
"completion_local_language":{
"type":"text",
"analyzer":"completion_index_edge_korean",
"search_analyzer":"completion_query_korean"
},
"completion_local_language_ngram_typo":{
"type":"text",
"analyzer":"completion_index_local_language_ngram_typo",
"search_analyzer":"completion_query_local_language_ngram_typo"
},
"completion_local_language_to_english":{
"type":"text",
"analyzer":"completion_index_local_language_to_english",
"search_analyzer":"completion_local_language_to_english"
},
"search_chosung":{
"type":"text",
"analyzer":"search_index_chosung",
"search_analyzer":"search_query_chosung"
},
"search_concat":{
"type":"text",
"analyzer":"search_index_concat",
"search_analyzer":"search_query_concat"
},
"search_english_to_local_language":{
"type":"text",
"analyzer":"search_index_english_to_korean",
"search_analyzer":"search_query_english_to_korean"
},
"search_keyword":{
"type":"text",
"analyzer":"search_index_keyword",
"search_analyzer":"search_query_keyword"
},
"search_keyword_synonym_trim":{
"type":"text",
"analyzer":"search_index_synonym_trim",
"search_analyzer":"search_query_synonym_trim"
},
"search_korean":{
"type":"text",
"analyzer":"search_index_korean",
"search_analyzer":"search_query_korean"
},
"search_korean_typo":{
"type":"text",
"analyzer":"search_index_korean_typo",
"search_analyzer":"search_query_korean_typo"
},
"search_local_language_to_english":{
"type":"text",
"analyzer":"search_index_local_language_to_english",
"search_analyzer":"search_query_local_language_to_english"
},
"search_ngram":{
"type":"text",
"analyzer":"search_index_ngram",
"search_analyzer":"search_query_ngram"
},
"search_standard":{
"type":"text",
"analyzer":"search_index_standard",
"search_analyzer":"search_query_standard"
},
"search_synonym_typo":{
"type":"text",
"analyzer":"search_index_korean_synonym_typo",
"search_analyzer":"search_query_korean_synonym_typo"
},
"suggest_english_to_local_language":{
"type":"text",
"analyzer":"suggest_index_english_to_korean",
"search_analyzer":"suggest_query_english_to_korean"
},
"suggest_left_chosung":{
"type":"text",
"analyzer":"suggest_index_edge_left_chosung",
"search_analyzer":"suggest_query_keyword"
},
"suggest_soundex_vowels":{
"type":"text",
"analyzer":"suggest_index_soundex_vowels",
"search_analyzer":"suggest_query_soundex_vowels"
}
}
}
}
}
}
},
"condition":{
"properties":{
"custom":{
"properties":{
"exclusive_yn":{
"type":"keyword"
},
"head_desc_yn":{
"type":"keyword"
},
"kids_yn":{
"type":"keyword"
}
}
},
"display_yn":{
"type":"keyword"
},
"multi_gender_yn":{
"type":"keyword"
},
"raffle_yn":{
"type":"keyword"
},
"sale_status":{
"type":"keyword"
},
"search_yn":{
"type":"keyword"
},
"setup_yn":{
"type":"keyword"
},
"used_yn":{
"type":"keyword"
}
}
},
"coupon":{
"properties":{
"application_end_date":{
"type":"date",
"format":"yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_second"
},
"application_start_date":{
"type":"date",
"format":"yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_second"
},
"discount":{
"type":"long"
},
"discount_rate":{
"type":"float"
},
"end_date":{
"type":"date",
"format":"yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_second"
},
"limited_coupon_yn":{
"type":"keyword"
},
"name":{
"type":"keyword"
},
"no":{
"type":"keyword"
},
"start_date":{
"type":"date",
"format":"yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_second"
}
}
},
"create_date":{
"type":"date",
"format":"yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_second"
},
"custom":{
"properties":{
"attribute":{
"properties":{
"code":{
"type":"keyword"
},
"name":{
"type":"keyword"
},
"value":{
"properties":{
"code":{
"type":"keyword"
},
"name":{
"type":"keyword"
},
"names":{
"type":"keyword"
},
"rank":{
"type":"keyword"
}
}
}
}
},
"exhibition_ids":{
"type":"keyword"
},
"filters":{
"properties":{
"badge":{
"type":"keyword"
},
"beauty":{
"type":"keyword"
},
"color":{
"type":"keyword"
},
"fit":{
"type":"keyword"
},
"material":{
"type":"keyword"
}
}
},
"goods_style":{
"properties":{
"code":{
"type":"keyword"
},
"name":{
"type":"keyword"
}
}
},
"margin_rate":{
"type":"keyword"
},
"size_type":{
"type":"keyword"
},
"slot":{
"properties":{
"image":{
"type":"keyword"
},
"sequence":{
"type":"integer"
}
}
},
"specialty":{
"properties":{
"code":{
"type":"keyword"
},
"name":{
"type":"keyword"
}
}
},
"vendor_id":{
"type":"keyword"
}
}
},
"gender":{
"properties":{
"code":{
"type":"keyword"
},
"filter":{
"type":"keyword"
},
"tag":{
"type":"keyword",
"fields":{
"search_keyword_synonym_trim":{
"type":"text",
"analyzer":"search_index_synonym_trim",
"search_analyzer":"search_query_synonym_trim"
},
"search_synonym_typo":{
"type":"text",
"analyzer":"search_index_korean_synonym_typo",
"search_analyzer":"search_query_korean_synonym_typo"
},
"search_korean":{
"type":"text",
"analyzer":"search_index_korean",
"search_analyzer":"search_query_korean"
}
}
}
}
},
"id":{
"type":"keyword"
},
"image":{
"properties":{
"mobile":{
"type":"keyword"
},
"pc":{
"type":"keyword"
}
}
},
"last_update_date":{
"type":"date",
"format":"yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_second"
},
"name":{
"properties":{
"english":{
"type":"keyword",
"fields":{
"completion_edge_concat":{
"type":"text",
"analyzer":"completion_index_edge_concat",
"search_analyzer":"completion_query_edge_concat"
},
"completion_edge_ngram":{
"type":"text",
"analyzer":"completion_index_edge_ngram",
"search_analyzer":"completion_query_edge_ngram"
},
"completion_left_local_language_to_english":{
"type":"text",
"analyzer":"completion_index_left_local_language_to_english",
"search_analyzer":"completion_query_left_local_language_to_english"
},
"completion_local_language_to_english":{
"type":"text",
"analyzer":"completion_index_local_language_to_english",
"search_analyzer":"completion_query_local_language_to_english"
},
"completion_standard":{
"type":"text",
"analyzer":"completion_index_standard",
"search_analyzer":"completion_query_standard"
},
"search_concat":{
"type":"text",
"analyzer":"search_index_concat",
"search_analyzer":"search_query_concat"
},
"search_english":{
"type":"text",
"analyzer":"search_index_english",
"search_analyzer":"search_query_english"
},
"search_local_language_to_english":{
"type":"text",
"analyzer":"search_index_language_to_english",
"search_analyzer":"search_query_language_to_english"
},
"search_ngram":{
"type":"text",
"analyzer":"search_index_ngram",
"search_analyzer":"search_query_ngram"
},
"search_standard":{
"type":"text",
"analyzer":"search_index_standard",
"search_analyzer":"search_query_standard"
},
"search_synonym_soundex":{
"type":"text",
"analyzer":"search_index_synonym_soundex",
"search_analyzer":"search_query_synonym_soundex"
},
"search_synonym_typo":{
"type":"text",
"analyzer":"search_index_synonym_typo",
"search_analyzer":"search_query_synonym_typo"
}
}
},
"headDesc":{
"type":"keyword"
},
"local":{
"type":"keyword",
"fields":{
"completion_chosung":{
"type":"text",
"analyzer":"completion_index_mid_chosung",
"search_analyzer":"completion_query_mid_chosung"
},
"completion_edge_concat":{
"type":"text",
"analyzer":"completion_index_edge_concat",
"search_analyzer":"completion_query_edge_concat"
},
"completion_edge_ngram":{
"type":"text",
"analyzer":"completion_index_edge_ngram",
"search_analyzer":"completion_query_edge_ngram"
},
"completion_english_to_local_language":{
"type":"text",
"analyzer":"completion_index_english_to_local_language",
"search_analyzer":"completion_query_english_to_local_language"
},
"completion_jamo":{
"type":"text",
"analyzer":"completion_index_mid_jamo",
"search_analyzer":"completion_query_mid_jamo"
},
"completion_left_english_to_local_language":{
"type":"text",
"analyzer":"completion_index_english_to_local_language",
"search_analyzer":"completion_query_left_english_to_local_language"
},
"completion_left_jamo":{
"type":"text",
"analyzer":"completion_index_left_jamo",
"search_analyzer":"completion_query_left_jamo"
},
"completion_left_local_language_to_english":{
"type":"text",
"analyzer":"completion_index_left_local_language_to_english",
"search_analyzer":"completion_query_left_local_language_to_english"
},
"completion_local_language":{
"type":"text",
"analyzer":"completion_index_edge_korean",
"search_analyzer":"completion_query_korean"
},
"completion_local_language_ngram_typo":{
"type":"text",
"analyzer":"completion_index_local_language_ngram_typo",
"search_analyzer":"completion_query_local_language_ngram_typo"
},
"completion_local_language_to_english":{
"type":"text",
"analyzer":"completion_index_local_language_to_english",
"search_analyzer":"completion_local_language_to_english"
},
"search_chosung":{
"type":"text",
"analyzer":"search_index_chosung",
"search_analyzer":"search_query_chosung"
},
"search_concat":{
"type":"text",
"analyzer":"search_index_concat",
"search_analyzer":"search_query_concat"
},
"search_keyword":{
"type":"text",
"analyzer":"search_index_keyword",
"search_analyzer":"search_query_keyword"
},
"search_keyword_synonym_trim":{
"type":"text",
"analyzer":"search_index_synonym_trim",
"search_analyzer":"search_query_synonym_trim"
},
"search_korean":{
"type":"text",
"analyzer":"search_index_korean",
"search_analyzer":"search_query_korean"
},
"search_korean_typo":{
"type":"text",
"analyzer":"search_index_korean_typo",
"search_analyzer":"search_query_korean_typo"
},
"search_ngram":{
"type":"text",
"analyzer":"search_index_ngram",
"search_analyzer":"search_query_ngram"
},
"search_standard":{
"type":"text",
"analyzer":"search_index_standard",
"search_analyzer":"search_query_standard"
},
"search_synonym_typo":{
"type":"text",
"analyzer":"search_index_korean_synonym_typo",
"search_analyzer":"search_query_korean_synonym_typo"
},
"suggest_english_to_local_language":{
"type":"text",
"analyzer":"suggest_index_english_to_korean",
"search_analyzer":"suggest_query_english_to_korean"
},
"suggest_left_chosung":{
"type":"text",
"analyzer":"suggest_index_edge_left_chosung",
"search_analyzer":"suggest_query_keyword"
},
"suggest_soundex_vowels":{
"type":"text",
"analyzer":"suggest_index_soundex_vowels",
"search_analyzer":"suggest_query_soundex_vowels"
}
}
}
}
},
"new_product":{
"properties":{
"day":{
"type":"keyword"
},
"type":{
"type":"keyword"
}
}
},
"no":{
"type":"integer"
},
"option":{
"properties":{
"goods_size":{
"properties":{
"item":{
"type":"keyword"
},
"option":{
"type":"keyword"
},
"quantity":{
"type":"keyword"
},
"size":{
"type":"keyword"
}
}
},
"shoe_size":{
"type":"keyword"
},
"top_size":{
"type":"keyword"
}
}
},
"price":{
"properties":{
"coupon":{
"type":"integer"
},
"discount":{
"type":"integer"
},
"discount_rate":{
"type":"float"
},
"normal":{
"type":"integer"
},
"sale":{
"type":"integer"
}
}
},
"rank":{
"properties":{
"custom":{
"properties":{
"all":{
"properties":{
"point":{
"type":"float"
},
"seg0":{
"type":"integer"
},
"seg1":{
"type":"integer"
},
"seg2":{
"type":"integer"
},
"seg3":{
"type":"integer"
},
"seg4":{
"type":"integer"
},
"seg5":{
"type":"integer"
},
"seg6":{
"type":"integer"
}
}
},
"men":{
"properties":{
"point":{
"type":"float"
},
"seg0":{
"type":"integer"
},
"seg1":{
"type":"integer"
},
"seg2":{
"type":"integer"
},
"seg3":{
"type":"integer"
},
"seg4":{
"type":"integer"
},
"seg5":{
"type":"integer"
},
"seg6":{
"type":"integer"
}
}
},
"women":{
"properties":{
"point":{
"type":"float"
},
"seg0":{
"type":"integer"
},
"seg1":{
"type":"integer"
},
"seg2":{
"type":"integer"
},
"seg3":{
"type":"integer"
},
"seg4":{
"type":"integer"
},
"seg5":{
"type":"integer"
},
"seg6":{
"type":"integer"
}
}
}
}
},
"points":{
"properties":{
"all":{
"type":"float"
},
"seg1":{
"type":"float"
},
"seg2":{
"type":"float"
},
"seg3":{
"type":"float"
},
"seg4":{
"type":"float"
},
"seg5":{
"type":"float"
},
"seg6":{
"type":"float"
},
"seq1":{
"type":"long"
},
"seq2":{
"type":"long"
},
"seq3":{
"type":"long"
},
"seq4":{
"type":"long"
},
"seq5":{
"type":"long"
},
"seq6":{
"type":"long"
}
}
},
"sequence":{
"type":"integer"
},
"weight":{
"properties":{
"customer_click":{
"properties":{
"category_score":{
"type":"integer"
},
"goods_score":{
"type":"integer"
},
"keyword":{
"type":"keyword"
}
}
},
"name":{
"properties":{
"brand":{
"type":"integer"
},
"category1":{
"type":"integer"
},
"category2":{
"type":"integer"
},
"category3":{
"type":"integer"
},
"category_entrie":{
"type":"integer"
},
"color":{
"type":"integer"
},
"gender":{
"type":"keyword"
}
}
}
}
}
}
},
"release":{
"properties":{
"date":{
"type":"keyword"
},
"release_yn":{
"type":"keyword"
},
"season":{
"type":"keyword"
},
"year":{
"type":"keyword"
}
}
},
"review":{
"properties":{
"count":{
"type":"integer"
},
"grade":{
"type":"keyword"
}
}
},
"sale":{
"properties":{
"code":{
"type":"keyword"
},
"count":{
"properties":{
"one_day":{
"type":"integer"
},
"one_month":{
"type":"integer"
},
"one_week":{
"type":"integer"
},
"one_year":{
"type":"integer"
},
"three_month":{
"type":"integer"
}
}
},
"custom":{
"properties":{
"custom_sell_end_date_yn":{
"type":"keyword"
},
"custom_sell_start_date_yn":{
"type":"keyword"
},
"family_sale_end_date":{
"type":"keyword"
},
"family_sale_start_date":{
"type":"keyword"
}
}
},
"period_type":{
"type":"keyword"
},
"sale_date_yn":{
"type":"keyword"
},
"sale_end_date":{
"type":"keyword"
},
"sale_start_date":{
"type":"keyword"
},
"sale_yn":{
"type":"keyword"
},
"sell_date_use_yn":{
"type":"keyword"
},
"sell_end_date":{
"type":"keyword"
},
"sell_start_date":{
"type":"keyword"
},
"time_sale_yn":{
"type":"keyword"
}
}
},
"style_no":{
"type":"keyword"
},
"tag":{
"properties":{
"custom":{
"properties":{
"refine":{
"type":"keyword"
}
}
},
"name":{
"type":"keyword"
},
"system":{
"type":"keyword"
}
}
},
"update_date":{
"type":"date",
"format":"yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_second"
}
}
}
728x90
'ElasticSearch & OpenSearch' 카테고리의 다른 글
[ElasticSearch] _script 를 사용한 sort (0) | 2022.05.05 |
---|---|
[OpenSearch] Settings, Mapping 설정하기 (2) | 2022.05.03 |
[ElasticSearch] 한글 형태소 분석기 설치하기 (0) | 2021.05.03 |
[Filebeat] docker-filebeat 세팅하고 띄우기 (0) | 2021.04.29 |
[OpenSearch] dictionary 추가하기 (0) | 2021.04.23 |