javascript ES mappin
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了javascript ES mappin相关的知识,希望对你有一定的参考价值。
{
"settings": {
"analysis": {
"analyzer": {
"flat": {
"filter": [
"lowercase"
],
"tokenizer": "keyword"
}
}
}
},
"mappings": {
"logs": {
"properties": {
"application_date": {
"type": "date",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"student_info_academic": {
"properties": {
"city_id": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"class": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"institute_id": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"institute_location": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"institute_name": {
"type": "text",
"analyzer": "flat",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"institute_type": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"mark_sheet": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"previous_year_score": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
},
"student_info_personal": {
"properties": {
"first_name": {
"type": "text",
"analyzer": "flat",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"last_name": {
"type": "text",
"analyzer": "flat",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"photo": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
}
}
}
}
}
以上是关于javascript ES mappin的主要内容,如果未能解决你的问题,请参考以下文章
javascript Javascript es6 / es2015
javascript JavaScript模块ES6(ES2015)
javascript Javascript - ES6和ES7