-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quick Search queries #153
Comments
Indeed, 'quick search' and 'genre' give different results for some genres. I'll try to figure it out - thanks for reporting. To debug simply try to write query with error, like: Selecting this in quick search you will see error message with full query string: Then you can play with it in mysql (I use phpMyAdmin). |
OK, i see now - it will not work for albums with multi-genres. I'll try to fix it. Try this: |
In e892d74 I modified slightly query used in quick search. But query like Did Using |
Yes this worked Artur thank you :) This would mean the default example of Pop of the 80's might be better as I reckon a GUI filter would be an excellent addition really. Even though I bang on about increasing what album/track attributes are indexed having a GUI to filter on the existing stuff would be a useful tool. eg.
That's all that is indexed currently but even having that would let people explore their music in a different way and we could build from there. Many thanks as always 👍 |
Thanks again for suggestions, I appreciate that. As for 'Pop' example: it should actually be: |
There appears to be a bug in the quick search feature or I am not understanding the sql queries. According to my media statistics, my "Number of albums" is 7240. Making a new quick search for testing I tried this;
genre ='Folk Rock'
I get 6177 albums. But if I usealbum.year BETWEEN 1970 AND 2022
I still get 6177 results. But if I usegenre ='Folk Rock' and album.year BETWEEN 1970 AND 2022
I get just 1 result.If I go to normal genre and select "Folk Rock" I get 854 albums.
How do I go about debugging this?
The text was updated successfully, but these errors were encountered: