Skip to content

Commit d1d50fe

Browse files
authored
Fix: Update mappings.json
1 parent 797d4df commit d1d50fe

1 file changed

Lines changed: 15 additions & 9 deletions

File tree

src/main/resources/elasticsearch/mappings.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
{
22
"properties": {
3+
"id": {
4+
"type": "text"
5+
},
6+
"created_at": {
7+
"type": "text"
8+
},
9+
"modified_at": {
10+
"type": "text"
11+
},
312
"title": {
413
"type": "text",
514
"analyzer": "korean",
@@ -29,16 +38,13 @@
2938
}
3039
}
3140
},
32-
"hashtags": {
33-
"type": "text",
34-
"fields": {
35-
"keyword": {
36-
"type": "keyword",
37-
"ignore_above": 256
38-
}
39-
}
41+
"comment_count": {
42+
"type": "integer"
43+
},
44+
"like_count": {
45+
"type": "integer"
4046
},
41-
"type": {
47+
"hashtags": {
4248
"type": "text",
4349
"fields": {
4450
"keyword": {

0 commit comments

Comments
 (0)