Closed jwjacobson closed 8 months ago
Interesting problem, so will you split Parker and f with a .split() in the view and OR search them? Or is it here where the user would need to start using some meta language like OR or pipe (|
)?
Also quoted "parker f" it should search for exactly that string right?
I was just using the quotation marks to denote a string rather than as part of the search
The currently existing search works great for single terms but not for multiple. For example if you search "Parker" you get the three parker tunes in the database. Ideally if you search "Parker f" it should get you the two tunes with F in the keys (along with any of his tunes that might have an F in the title).
So the logic would be: search as written: "parker f" split into: "parker" "f" The search is run with both these terms connected by an "and", i.e. return items matching parker and f.