Implement Artist search with SQL, removed old search/indexer code

This commit is contained in:
Deluan
2020-01-13 16:02:49 -05:00
committed by Deluan Quintão
parent 3a9559a860
commit 614f4afe28
11 changed files with 45 additions and 171 deletions
+1
View File
@@ -11,6 +11,7 @@ type ArtistRepository interface {
Put(m *Artist) error
Get(id string) (*Artist, error)
PurgeInactive(active Artists) ([]string, error)
Search(q string, offset int, size int) (Artists, error)
}
type Artists []Artist