aboutsummaryrefslogtreecommitdiffstats
path: root/skate
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-07-27 03:21:32 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-07-27 03:21:32 +0200
commit2039fb918048de9ea8a1a973d629719a60c3748c (patch)
tree2d442db39e6863cd14681937adef2bbb80441c3e /skate
parentc55e3ab77d50d07c435baac05505fda856db583f (diff)
downloadrefcat-2039fb918048de9ea8a1a973d629719a60c3748c.tar.gz
refcat-2039fb918048de9ea8a1a973d629719a60c3748c.zip
schema: add note regarding field name
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 18d0e83..2cea15a 100644
--- a/skate/schema.go
+++ b/skate/schema.go
@@ -418,7 +418,7 @@ type SitemapEntry struct {
// BiblioRef as a prototype for citation graph elasticsearch indexing,
// https://is.gd/yicTom.
type BiblioRef struct {
- Key string `json:"_id,omitempty"`
+ Key string `json:"_id,omitempty"` // TODO: rename this to ID or something like that
IndexedTs string `json:"indexed_ts,omitempty"` // 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"`