aboutsummaryrefslogtreecommitdiffstats
path: root/skate
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-03-31 02:07:35 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-03-31 02:07:35 +0200
commit65ab466095d35082440f2665ae903b7c3f1b086b (patch)
tree1985a190426a5ada7bf7bdf1f3add7da4df35350 /skate
parentd4a7fdfbce83811aeecf692674cfb411bc2b4089 (diff)
downloadrefcat-65ab466095d35082440f2665ae903b7c3f1b086b.tar.gz
refcat-65ab466095d35082440f2665ae903b7c3f1b086b.zip
change json to indexed_ts
Diffstat (limited to 'skate')
-rw-r--r--skate/schema.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/skate/schema.go b/skate/schema.go
index acb2601..30a1c81 100644
--- a/skate/schema.go
+++ b/skate/schema.go
@@ -206,7 +206,7 @@ type Sitemap struct {
// BiblioRef as a prototype for indexing, https://is.gd/yicTom.
type BiblioRef struct {
Key string `json:"_id,omitempty"`
- UpdateTs int64 `json:"update_ts,omitempty"` // XXX: maybe: epoch_millis, https://www.elastic.co/guide/en/elasticsearch/reference/current/date.html
+ IndexedTs int64 `json:"indexed_ts,omitempty"` // XXX: maybe: epoch_millis, https://www.elastic.co/guide/en/elasticsearch/reference/current/date.html
SourceReleaseIdent string `json:"source_release_ident,omitempty"`
SourceWorkIdent string `json:"source_work_ident,omitempty"`
SourceWikipediaArticle string `json:"source_wikipedia_article,omitempty"`