Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrProviderNotSupported = errors.New("Unsupported provider given")
ErrProviderNotSupported index provider given is not supported
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index interface {
IndexNote(n *note.Note) error
IndexNotes(notes note.Notes) error
SearchNote(query string, limit, offset int) ([]int64, uint64, error)
SearchNotePhrase(query string, bk *note.Book, sort string, limit, offset int) ([]int64, uint64, error)
DeleteNote(n *note.Note) error
DeleteBook(bk *note.Book) error
}
Index interface for the index providers
Click to show internal directories.
Click to hide internal directories.