diff options
Diffstat (limited to 'skate')
-rw-r--r-- | skate/schema.go | 6 |
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 { |