mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
Renaming things
This commit is contained in:
@ -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]
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user