diff options
Diffstat (limited to 'modules/indexer/internal')
-rw-r--r-- | modules/indexer/internal/db/indexer.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/indexer/internal/db/indexer.go b/modules/indexer/internal/db/indexer.go index 3f7e00efbb..3deec836c4 100644 --- a/modules/indexer/internal/db/indexer.go +++ b/modules/indexer/internal/db/indexer.go @@ -16,8 +16,9 @@ type Indexer struct{} // Init initializes the indexer func (i *Indexer) Init(_ context.Context) (bool, error) { - // nothing to do - return false, nil + // Return true to indicate that the index was opened/existed. + // So that the indexer will not try to populate the index, the data is already there. + return true, nil } // Ping checks if the indexer is available |