diff options
Diffstat (limited to 'searchix.go')
-rw-r--r-- | searchix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchix.go b/searchix.go index c10eb6a..f91fe48 100644 --- a/searchix.go +++ b/searchix.go @@ -64,7 +64,7 @@ func (s *Server) SetupIndex(update bool, replace bool) error { "update", update, ) - err = importer.Start(s.cfg, write, replace, nil) + err = importer.Start(s.cfg, write, replace || update, nil) if err != nil { return errors.Wrap(err, "Failed to build index") } |