From 912acf09a7bd36defdbcf2b9b6ab268a259740a9 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 28 Apr 2021 17:21:47 +0200 Subject: update docs --- skate/schema.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'skate') 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 { -- cgit v1.2.3