add mappings
This commit is contained in:
parent
ee82cb7ae9
commit
ab9d7f14eb
3 changed files with 42 additions and 0 deletions
21
priv/es-mappings/activity.json
Normal file
21
priv/es-mappings/activity.json
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"properties": {
|
||||
"_timestamp": {
|
||||
"type": "date",
|
||||
"index": true
|
||||
},
|
||||
"instance": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"content": {
|
||||
"type": "text"
|
||||
},
|
||||
"hashtags": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"user": {
|
||||
"type": "text"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
7
priv/es-mappings/hashtag.json
Normal file
7
priv/es-mappings/hashtag.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"properties": {
|
||||
"hashtag": {
|
||||
"type": "text"
|
||||
}
|
||||
}
|
||||
}
|
14
priv/es-mappings/user.json
Normal file
14
priv/es-mappings/user.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"properties": {
|
||||
"instance": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"nickname": {
|
||||
"type": "text"
|
||||
},
|
||||
"bio": {
|
||||
"type": "text"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue