aboutsummaryrefslogtreecommitdiffstats
path: root/skate
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-04-28 17:21:47 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-04-28 17:21:47 +0200
commit912acf09a7bd36defdbcf2b9b6ab268a259740a9 (patch)
tree86b122119f896389c527966b7a1cd18231855940 /skate
parentea169286874899d8bfa73b6569d280fec184a200 (diff)
downloadrefcat-912acf09a7bd36defdbcf2b9b6ab268a259740a9.tar.gz
refcat-912acf09a7bd36defdbcf2b9b6ab268a259740a9.zip
update docs
Diffstat (limited to 'skate')
-rw-r--r--skate/schema.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/skate/schema.go b/skate/schema.go
index dea3509..2ff1483 100644
--- a/skate/schema.go
+++ b/skate/schema.go
@@ -282,7 +282,7 @@ type Sitemap struct {
// BiblioRef as a prototype for indexing, https://is.gd/yicTom.
type BiblioRef struct {
Key string `json:"_id,omitempty"`
- IndexedTs string `json:"indexed_ts,omitempty"` // XXX: maybe: "epoch_millis", https://www.elastic.co/guide/en/elasticsearch/reference/current/date.html
+ 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"`
SourceWikipediaArticle string `json:"source_wikipedia_article,omitempty"`
@@ -311,8 +311,8 @@ type ReleaseCluster struct {
}
// OneNonRef returns the first non-reference release found in a cluster, or an
-// error, if none has been found. This depends on converted references using
-// the status "ref" in extra. We use this in mixed clusters (catalog entries
+// error, if none has been found. This depends on converted references setting
+// extra.skate.status to "ref" - we use this in mixed clusters (catalog entries
// and references converted into releases).
func (rc *ReleaseCluster) OneNonRef() (*Release, error) {
for _, re := range rc.Values {