all repos — searchix @ 12a29a55fe895a964d8d317857ee7fb87d4071f1

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

fix: always re-index if storage is (re-)created

Alan Pearce
commit

12a29a55fe895a964d8d317857ee7fb87d4071f1

parent

15a5b3210a073c83dbd1ace8969df83c53dac755

1 file changed, 5 insertions(+), 0 deletions(-)

changed files
M internal/index/search.gointernal/index/search.go
@@ -36,7 +36,12 @@ index bleve.Index
config *config.Config store *storage.Store log *log.Logger + exists bool meta *Meta +} + +func (index *ReadIndex) Exists() bool { + return index.exists } func (index *ReadIndex) LastUpdated() time.Time {