-
Notifications
You must be signed in to change notification settings - Fork 5
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
Odd behavior when filtering by only one file type or one result type #224
Comments
Not sure if this was already noticed and considered a part of 'odd behaviour' but when doing an advanced search using the "voice types" filter, it doesn't seem to work. I had a list of 61 results that included both strictly vocal and non-vocal styles and when I limited it to "vocal" it suddenly said I had zero results. Were you guys already aware of this issue? |
Furthermore just doing a plain search for Bach, Johann Sebastian (as prompted) gives me only 8 results, but on the side filter it suggests that there are 571 pieces that fit this description?! Surely this shouldn't be medium priority! This is a basic search function. I would like to gather pieces together and I can't. This is the most basic usage of the website and it should work. |
The 571 pieces is the bug, I'm pretty sure there are actually only 8 available results on the main database at the moment. Will take another look. |
I had a look, and the problem seems to be that the vast majority of pieces are hidden - that is, won't show up in search results to non-superusers. Here's a breakdown:
As you can see, all but 3 of Bach's pieces are hidden (+ the composer page itself, +4 non-hidden movements = 8 results). In all, 1656 of the 2854 pieces on the database are currently hidden. Could this possibly be intentional? |
If they are from certain collections. |
It is intentional. In addition to hiding specific pieces, we have also hidden the entirety of the Yale collection over copyright liabilities for now. |
Yes. I didn't want to mention them by name, since they requested to be removed... |
Mystery solved! Thank you @lexpar.
|
We only spent the first half of the summer hiding all the pieces. Again, a breakdown in communications. |
If these are removed they should also be excluded from the facet counts. There is |
I've written a patch that will fix this. There was some trickiness in the code causing 2 searches to happen, one of which was not filtered. Will fix the last comment from @ahankinson. |
@musicnerd The issue with the counts on the right hand side is the one I mentioned having fixed in the comment above. |
I see. Would there be a way (for now) to automatically assign the voice type based on the 'instrument voice' field? So that whatever possibilities show up in the instrument voice field belong to either instrument (e.g. 'orchestra') or voice, or possibly both? Or are there also not enough 'instrument voice' data? |
@lexpar |
That's a good suggestions @musicnerd. We can run a quick loop over the database applying that heuristic. Should update a great deal of the pieces. @imlorenz, what issue are you talking about? I'm getting a little mixed up here! |
Sorry for the confusion. I meant the issue with the voice-type filters. When I went through the whole Database collection I noticed that a majority of both instrument voices and voice types were left unknown. As far as the voice filters, I could have probably fix them by tomorrow at the latest. This would save @lexpar the issue of making the loop when it is an problem that needs to be fixed on the Database anyway. @musicnerd Is there a specific time constraint that you are under, or would having it be fixed by tomorrow afternoon be okay? |
time fix for this issue by tomorrow is plenty early. A timeline for the fix for ALL the bugs I'm hoping like a few weeks at most... but maybe that's just wishful thinking... |
I'm still a bit confused about some files being hidden due to copyright. Firstly, we have currently 77 pieces from the kernscores database coming up on a search, so it can't be that they didn't want us to use ANY of their stuff (or are those supposed to be hidden and somehow aren't?) Also, in that list of 77 includes Scriabin pieces from the early 20th century, so if there's copyright stuff going on I don't see why Bach is a problem but Scriabin isn't? I'm new here so forgive my ignorance of these issues. |
@lexpar Yes, I would have to go through the pieces manually and give them a voice type. Since instrument voices and voice types are two separate filters--the former being a specification of the latter--I think it would be best to keep them as two distinct filters, as opposed to looping through one another. |
Anything that originates from CCARH cannot be redistributed: http://www.musedata.org/legal/lcr.html
|
At the moment, if you type 'kernscores' (it will prompt you to KernScores) in the general search box, then you get a list of 77 results of stuff within this collection. This is CCARH's collection, so I'm guessing this should all be hidden from the average user? Anyone want to fix that? |
They are currently hidden. |
@imlorenz, I'm not sure that they are hidden. Until Friday I was a non 'super user' and basically had access to anything that any outsider could view, and I was able to see this list of the 77 pieces. Is there a way to check that they are truly hidden? |
@musicnerd Yes, that was my fault. When I initially starting hiding pieces on the Database, I didn't realise that the KernScores collection was related to CCARH, so I didn't think to hide them. When you told me about this on Friday, however, I hid them. So now they should not be visible to the public. Also, I believe that I have finished changing the voice-type filters for the pieces currently not hidden on the Database with a few exceptions. I have not yet updated the Wegman Mass and Model files, because there are many errors with them and a good portion of them duplicates (I'm in the process of taking care of that now). Also, any pieces that are listed under movements--such as many of the files in the Digital Du Chemin collection--have not been updated because the Database won't allow it. So that is something we will have to look into further on. I hope this helps, and thanks for bringing this to my attention! |
Oh I see. OK well hopefully it's all good now. Thanks! :) |
When filtering by only one of these (you can select multiple file types or result types, in which case the bug doesn't happen) and then clicking search, you get correct results for the first page, but as soon as you change pages, it resets as if there was never any filtering done. It's probably a very specific pagination thing, I'll look into it after dealing with the urgent stuff.
The text was updated successfully, but these errors were encountered: