all repos — searchix @ 5afd91c0b78982e8d1dfd41a911cf85d108979d9

Search engine for NixOS, nix-darwin, home-manager and NUR users

fix: not re-indexing despite --reindex argument

Alan Pearce
commit

5afd91c0b78982e8d1dfd41a911cf85d108979d9

parent

bc04964c3405f9d50bbad7193b61ed62d9e64498

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M cmd/searchix-web/ingest.gocmd/searchix-web/ingest.go
@@ -91,7 +91,7 @@ return fault.Wrap(err, fmsg.With("Failed to save index metadata"))
} } - if !write.Exists() || updateStore { + if !write.Exists() || opts.Reindex || updateStore { err = imp.Index(ctx) if err != nil { return fault.Wrap(err, fmsg.With("Failed to index data"))