View Issue Details

IDProjectCategoryView StatusLast Update
0019436MMW 5Playlists (Auto) / Search / Filterspublic2022-10-13 23:06
Reporterpeke Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Target Version5.0.4Fixed in Version5.0.4 
Summary0019436: Quoted search do not work correctly.
DescriptionBased on my tests and DB (from FTP). When user do global search for two words and use quotes eg. "one two", MM search behaves differently and shows incorrect results.

Whatever search option is set eg. either "respect/ignore diacritics whole words only", search do not return correct results for quoted search, in some cases even return no results.

Note due the missing options 0019430 Search options can't be fully compared for both respect/ignore diacritics as they have different options and behavior.
Steps To Reproduce1. First limited search to Artist, Title, Album, Album Artist, Genre.
2. Search [Riblja Čorba] and correct results are shown
3. Search for ["Riblja Čorba"] then search ends with no results even Artist is exact match (from my library).

Test note: respect/ignore diacritics setting do not affect behavior

"[ ]" is used to isolate search terms for copy/paste in MM global search
Additional InformationMore info and result pictures can be found in topic post https://www.mediamonkey.com/forum/viewtopic.php?p=501584#p501584
TagsNo tags attached.
Fixed in build2671

Relationships

related to 0019430 feedbackpeke Search: There is few options missing in search options 
related to 0017412 closedLudek Exact phrase searching is case sensitive (regression) 
related to 0018863 closedLudek Global search: results are sometimes case-sensitive when quoted 
related to 0018708 closedLudek Search: Quoted special characters result in search fail (Regression 5.0.x) 
related to 0015131 closedLudek Search whole words only when in double quotes 
related to 0019453 feedbackrusty Unify behaviour re quoted strings searching re single word versus multiple words 

Activities

Ludek

2022-10-07 11:05

developer   ~0069687

image.png (18,778 bytes)   
image.png (18,778 bytes)   

Ludek

2022-10-07 11:10

developer   ~0069688

image-2.png (51,654 bytes)   
image-2.png (51,654 bytes)   

Ludek

2022-10-07 11:11

developer   ~0069689

Peke, are you sure that "Riblja Čorba" is a phrase? i.e. that it is not e.g. "Čorba Riblja" where it is not expected to find it as phrase?
See the above screenshots.

peke

2022-10-07 11:34

developer   ~0069691

Yes, it is artist see my screenshots
https://ibb.co/WfXhxJs
https://ibb.co/8cmdtV3

Use My library from FTP, note that I limited search to Artist, Title, Album, Album Artist, Genre (Also in pictures)

Ludek

2022-10-07 11:48

developer   ~0069693

Last edited: 2022-10-07 11:49

But testing this futher and reading the forum post I can confirm that "foo bar" doesn't find "foo barman" like is noted in our search tips.
IMO there is rather inconsistency in the search tips, because
"Foo" finds whole words
so it would be also expected that "foo bar" should also search the phrase in whole words, e.g. "foo bar man" would be in results, but "foo barman" and "bar foo" not (like it works currently)

So I think we should rather correct the search tips, it's just too late as 5.0.4 translations are closed, so moving target to 5.1...

peke

2022-10-07 20:21

developer   ~0069702

Last edited: 2022-10-07 20:25

I tested your example from pic and if Album is "Ve jménu" then "ve jmenu" return no results but if Album name is "Ve jménu Lásky" then it is found.

I see it as a bug, not just tips issue.

barrym

2022-10-09 10:14

updater   ~0069714

I think that this report arises from the thread that Peke mentioned at the top.
I would describe the issues differently.
Tested with 2667. Tested with Ignore diacritics/SearchBeginnings of words.

1. " foo bar" works differently in Global vs Contextual search.
    eg, tag is John Coltrane ... search string is "john Col" .. ie. double quoted, incomplete 2nd word, and mixed case criteria
    Contextual Search finds all occurrences of John Coltrane ... as expected
    Global Search finds nothing ... It seems to search for ""John col"" ... ie double double quotes ... This must be a bug

2. "foo" finds nothing ... this seems an very unhelpful pedantic rule ... confusing to anyone trying to learn MM5
     it should search as per the user's clear intention.
     If no, the help text should be updated, and the tooltip made more clear
    eg. "coltrane" finds nothing

3. If i use a double quoted query, in Contextual Search, when Search option is changed to WHOLE WORDS ... "john col" finds John Coltrane ... so it seems that double quoting overrides the WHOLE WORDS setting ... I don't know if this is WAD ... it seems OK to me ... but if so, it should work for Global searches also

Ludek

2022-10-10 10:19

developer   ~0069740

Last edited: 2022-10-10 10:23

Yes, I can confirm the issues mentioned above (i.e. Peke's 0019436:0069702 and Barry's 1/2 from 0019436:0069714 ) and seeing them as bugs.
Moving target to 5.0.4 to fix them...

Ludek

2022-10-10 12:27

developer   ~0069743

Last edited: 2022-10-10 12:35

=> Fixed in 5.0.4.2671

Nevertheless I still think that there is currently inconsistency when quoted strings are used for single word or multiple words.
e.g.
"be" finds "Let it be" , but does not find "The Best Of" --> this is correct according to the tooltip "Foo" finds whole words and original Jiri's suggestion 0015131
BUT
"the be" finds both "The Best Of" and "The Beatles" --> this is also correct according to tooltip "foo bar" finds matches including phrase foo bar (e.g. foo barman)

Tracking this incosistency as separate issue for 5.1 : 0019453

peke

2022-10-13 23:06

developer   ~0069796

Verified 2671

Both cases mine and barry works correcly now.