Refactor string searching
Currently, we scan the list of artists and titles for the complete query. We should refactor this s.t.:
- Every search string is just the concatenation of
"{artist} {title}"
. - We search for every word in the query independently in the list using
aho-corasick
. - We restrict the search space to only that what is needed (by the interface, and what we did not search yet).
Edited by Amber Sprenkels