diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-03-31 02:07:35 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-03-31 02:07:35 +0200 |
commit | 65ab466095d35082440f2665ae903b7c3f1b086b (patch) | |
tree | 1985a190426a5ada7bf7bdf1f3add7da4df35350 /skate | |
parent | d4a7fdfbce83811aeecf692674cfb411bc2b4089 (diff) | |
download | refcat-65ab466095d35082440f2665ae903b7c3f1b086b.tar.gz refcat-65ab466095d35082440f2665ae903b7c3f1b086b.zip |
change json to indexed_ts
Diffstat (limited to 'skate')
-rw-r--r-- | skate/schema.go | 2 |
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"` |