refactor: 基于 novel 项目 & Spring Cloud 2022 & Spring Cloud Alibaba 2022 重构

This commit is contained in:
xiongxiaoyang
2023-03-30 16:15:56 +08:00
parent d68ce51c82
commit 3d098eea5e
505 changed files with 14127 additions and 24067 deletions

View File

@@ -1,7 +1,6 @@
PUT /novel
PUT /book
{
"mappings" : {
"properties" : {
"id" : {
"type" : "long"
@@ -11,72 +10,53 @@ PUT /novel
},
"authorName" : {
"type" : "text",
"analyzer": "ik_smart",
"boost": 1.5
"analyzer": "ik_smart"
},
"bookName" : {
"type" : "text",
"analyzer": "ik_smart",
"boost": 2
"analyzer": "ik_smart"
},
"bookDesc" : {
"type" : "text",
"analyzer": "ik_smart",
"boost": 0.1
"analyzer": "ik_smart"
},
"bookStatus" : {
"type" : "short"
},
"catId" : {
"categoryId" : {
"type" : "integer"
},
"catName" : {
"categoryName" : {
"type" : "text",
"analyzer": "ik_smart",
"boost": 1.0
"analyzer": "ik_smart"
},
"lastIndexId" : {
"lastChapterId" : {
"type" : "long"
},
"lastIndexName" : {
"lastChapterName" : {
"type" : "text",
"analyzer": "ik_smart",
"boost": 0.1
"analyzer": "ik_smart"
},
"lastIndexUpdateTime" : {
"type": "keyword"
"lastChapterUpdateTime" : {
"type": "long"
},
"picUrl" : {
"type" : "keyword",
"index" : false,
"doc_values" : false
},
"score" : {
"type" : "float"
"type" : "integer"
},
"wordCount" : {
"type" : "integer"
},
"workDirection" : {
"type" : "short"
},
"visitCount" : {
"type": "long"
}
}
}
}