diff --git a/appview/indexer/issues/indexer.go b/appview/indexer/issues/indexer.go index d652e72a..a8da2420 100644 --- a/appview/indexer/issues/indexer.go +++ b/appview/indexer/issues/indexer.go @@ -56,7 +56,9 @@ func (ix *Indexer) Init(ctx context.Context, e db.Execer) { log.Fatalln("failed to populate issue indexer", err) } } - l.Info("Initialized the issue indexer") + + count, _ := ix.indexer.DocCount() + l.Info("Initialized the issue indexer", "docCount", count) } func generateIssueIndexMapping() (mapping.IndexMapping, error) { diff --git a/appview/indexer/pulls/indexer.go b/appview/indexer/pulls/indexer.go index 6cf2681b..438eda23 100644 --- a/appview/indexer/pulls/indexer.go +++ b/appview/indexer/pulls/indexer.go @@ -55,7 +55,9 @@ func (ix *Indexer) Init(ctx context.Context, e db.Execer) { log.Fatalln("failed to populate pull indexer", err) } } - l.Info("Initialized the pull indexer") + + count, _ := ix.indexer.DocCount() + l.Info("Initialized the pull indexer", "docCount", count) } func generatePullIndexMapping() (mapping.IndexMapping, error) {