feat: add offline flag to reindex (mostly for dev)
1 file changed, 1 insertion(+), 4 deletions(-)
changed files
M internal/index/indexer.go → internal/index/indexer.go
@@ -210,7 +210,6 @@ var expectedDataFiles = []string{ metaBaseName, indexBaseName, - "manpage-urls.json", } func deleteIndex(root *file.Root) error {@@ -224,9 +223,7 @@ return nil } -func OpenOrCreate( - options *Options, -) (*ReadIndex, *WriteIndex, bool, error) { +func OpenOrCreate(options *Options) (*ReadIndex, *WriteIndex, bool, error) { var err error bleve.SetLog(zap.NewStdLog(options.Logger.Named("bleve").GetLogger()))