Renaming things

This commit is contained in:
Eike Kettner
2020-06-21 13:15:02 +02:00
parent 2f6e531c45
commit 14ea4091c4
12 changed files with 206 additions and 128 deletions

View File

@ -18,6 +18,7 @@ trait FtsClient[F[_]] {
*/
def initialize: F[Unit]
/** Run a full-text search. */
def search(q: FtsQuery): F[FtsResult]
def searchAll(q: FtsQuery): Stream[F, FtsResult] =
@ -81,4 +82,11 @@ trait FtsClient[F[_]] {
None
)
)
/** Clears the index removes everything. */
def clearAll(logger: Logger[F]): F[Unit]
/** Clears the index from all data belonging to the given collective. */
def clear(logger: Logger[F], collective: Ident): F[Unit]
}