1 自定义创建索引结构
PUT /tikus
{
"mappings": {
"questions":{
"properties": {
"Identifier":{
"type": "integer"
},
"itemcategoryId":{
"type": "text"
},
"discrimination":{
"type": "text"
},
"difficultyId":{
"type": "integer"
},
"itemcontent":{
"type": "text",
"index": true,
"analyzer": "ik_smart" //分词的方式
},
"answer":{
"type": "text"
},
"criterion":{
"type": "text"
},
"Original":{
"type": "integer"
}
}
}
}
}
2 需改默认最大的返回记录数
3 添加Ik 中文问分词 (版本要对应)
4 使用JavaScript API 操作
5 索引之间可以复制和远程复制索引值 (需要配置远程IP 在elastic 配置文件里修改)
6 分页参数格式