Add wordCount to Page doc in elastic

This commit is contained in:
Hongbo Wu 2022-09-06 10:03:36 +08:00
parent 7fa092d95e
commit d00391b593
2 changed files with 4 additions and 0 deletions

View file

@ -216,6 +216,7 @@ export interface Page {
language?: string
readAt?: Date
listenedAt?: Date
wordCount?: number
}
export interface SearchItem {

View file

@ -151,6 +151,9 @@
},
"listenedAt": {
"type": "date"
},
"wordCount": {
"type": "integer"
}
}
}