Index all notes at start

This commit is contained in:
2020-08-19 16:45:55 +02:00
parent ab3766b8b8
commit 12619f6550
10 changed files with 60 additions and 2 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
package be.simplenotes.search
import org.koin.dsl.module
import java.nio.file.Path
val searchModule = module {
single { NoteSearcher() }
single { NoteSearcher(Path.of(".lucene")) }
}