[AppleScript] 纯文本查看 复制代码
if(newCoursePub==null){
//创建课程索引信息失败
ExceptionCast.cast(CourseCode.COURSE_PUBLISH_CREATE_INDEX_ERROR);
}
....
}
{ "properties" : {
"description" : {
"analyzer" : "ik_max_word",
"search_analyzer": "ik_smart",
"type" : "text"
},
"grade" : {
"type" : "keyword"
},
"id" : {
"type" : "keyword"
},
"mt" : {
"type" : "keyword"
},
"name" : {
[AppleScript] 纯文本查看 复制代码
"analyzer" : "ik_max_word",
"search_analyzer": "ik_smart",
"type" : "text"
},
"users" : {
"index" : false,
"type" : "text"
}, "charge" : {
"type" : "keyword"
},
"valid" : {
"type" : "keyword"
},
"pic" : {
"index" : false,
"type" : "keyword"
}, "qq" : {
"index" : false,
"type" : "keyword"
},
"price" : {
"type" : "float"
}, "price_old" : {
"type" : "float"
},
"st" : {
"type" : "keyword"
},
"status" : {
"type" : "keyword"
},
"studymodel" : {
"type" : "keyword"
}, "teachmode" : {
"type" : "keyword"
},
"teachplan" : {
"analyzer" : "ik_max_word",
"search_analyzer": "ik_smart",
"type" : "text"
},
"expires" : {
"type" : "date", "format": "yyyy‐MM‐dd HH:mm:ss"
}, "pub_time" : {
"type" : "date",
"format": "yyyy‐MM‐dd HH:mm:ss"
[AppleScript] 纯文本查看 复制代码
},
"start_time" : {
"type" : "date", "format": "yyyy‐MM‐dd HH:mm:ss"
}, "end_time" : {
"type" : "date", "format": "yyyy‐MM‐dd HH:mm:ss"
}
} }