-
Notifications
You must be signed in to change notification settings - Fork 307
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
Library search broken #1297
Comments
BTW, this is not about returning too much data only. When searching other artists in my library, I get an amout of search results that's too small, or no search results at all. It's also not restricted to albums, as I'm seeing the same kind of results for Please let me know if I can provide more data to pinpoint this. |
Please enable logging for |
Well, the 'too much data is returned for
I searched for When disabling full text search plugin (I assume that's what you was referring to above?), I get this query:
... which yields 0 results, which also isn't intended (FWIW, My music -> Album artists -> a-ha yields 4 results). |
Oh, you're searching for albums - which would search the album title. You obviously don't have any albums called "a-ha", but albums by an artist of that name. You can't use |
Wouldn't that kind of search results (albumartist matching a search for albums, artist matching a search for tracks) be a useful addition, though? Besides that, there's still the issue of full text search being completely useless here. If I provide the search term 'a-ha', why doesn't it do TL,DR: non-full text search probably is OK as in 'has unchanged behavior', but full text search has issues. |
Having scanned through the full text search plugin a bit (which I don't yet fully understand though), I gather that I can fix my
|
In the other issue you mentioned following slim browse menus as you receive them from the server. Is this the case for this search, too? It would indeed be great if the album search allowed you to search for its artist magically. But then the question as always would be: how far would you want to go? Should we also find albums by track lyrics? By soloist? Director? With a particular track name on it? It all would be possible, and somewhat already is with the help of the full text search plugin. But as you've figured out this can lead to somewhat surprising results - the artist name "A-Ha" is a perfect example of how a name, interpreted loosely, can lead to totally invalid results. And not using full text search, but trying to figure out what the search term might be, or providing specific parameters for all possible search options would lead to a massive increase of the already pretty high complexity, in particular when dealing with contributors and their man different roles. |
I'd say stop at album artist, but the argument is fair, even though - as mentioned in #1298 - you expected it to work like that when writing 'Music & artist information' as well ;-) |
I traced down this one to this check triggering. Apparently |
It's a performance optimisation, as other typing something like "an" or "or" would have killed the server. It's been a long time since I worked on that... I don't know whether this could be tweaked reasonably, other than by adding yet another preference... |
Since 9.0 (I recently upgraded from 8.5) library search is returning flat out wrong data. One example (debug log from an app I wrote doing search requests via cometd):
You see I searched for albums matching 'a-ha' and got random results, including Phantom of the Opera or Sister Act 2 OST, which are totally unrelated to a-ha, and aren't tagged as such. With such a search, I'd expect a text search for 'a-ha' in artist or album artist tags, but neither of those albums (obviously) is tagged as such.
Am I missing something here? I can't try at the moment, but am pretty sure 8.5 returned more meaningful search results for such queries.
The text was updated successfully, but these errors were encountered: