Index all notes at start
This commit is contained in:
@@ -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")) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user