Drop indexes + view

This commit is contained in:
2020-08-19 18:47:19 +02:00
parent 315a01ea18
commit 68109f8666
6 changed files with 52 additions and 24 deletions
@@ -86,6 +86,8 @@ class NoteService(
}
fun search(userId: Int, searchTerms: SearchTerms) = searcher.search(userId, searchTerms)
fun dropAllIndexes() = searcher.dropAll()
}
data class PaginatedNotes(val pages: Int, val notes: List<PersistedNoteMetadata>)