Search: "foo bar" doesn't find "foo barman" [#19430] [#19436]

Get answers about the current version of MediaMonkey 5

Moderator: Gurus

Barry4679
Posts: 2408
Joined: Fri Sep 11, 2009 8:07 am
Location: Australia
Contact:

Re: Search: "foo bar" doesn't find "foo barman" [#19430] [#19436]

Post by Barry4679 »

Timo_Beil wrote: Fri Oct 07, 2022 4:08 am To show 4.3 (search only in path), I made a little video
Two filenames contain - Desmond Dekker - . Only these files are found with " ".
I couldn't see the whole video because it was downloading very slowly, but I saw enough to see what accounts for the difference.

You are using "global search" ... I don't know if that is its official name, but that is what I call it.
I am using "Contextual Search" ... see my video here.

A "contextual search" is constrained to whatever collection you are currently viewing.
You type your criteria when the cursor is anywhere within the main panel.
It opens a hidden search control in the toolbar, as you can see in the short video.
In this case I was in the EntireLibrary node, so like you I was searching my whole collection, just using a different route.
I find it very useful, and is the only search mechanism that I use.

But the question is why these identical queries got different results?
I suggest that the answer is that you have found a bug in the Global Search facility.
Unless it another of MM5's Alice In Wonderland hidden rules .... ?

BTW, if you didn't know about the Contextual Search facility it is because this how it is covered in the online help ... which would be laughable if it wasn't so sad.
Want a dark skin for MM5? This is the one that works best for me .. elegant, compact & clear.
Timo_Beil
Posts: 662
Joined: Thu Sep 20, 2007 1:00 pm
Location: Germany, Northern Heath

Re: Search: "foo bar" doesn't find "foo barman" [#19430] [#19436]

Post by Timo_Beil »

Barry4679 wrote: Fri Oct 07, 2022 7:24 am You are using "global search" ... I don't know if that is its official name, but that is what I call it.
I am using "Contextual Search"
[...]
But the question is why these identical queries got different results?
I suggest that the answer is that you have found a bug in the Global Search facility.
Yes, it looks like that. Contextual works differently than Global.
Let's hope that a developer looks again into this thread, that already has two links to Mantis.

!! PEKE !!... :wink:

Btw: The first time I saw the Contextual Search was in Lotus Notes' views years ago.
A surprising feature, that I missed in many other application.
MM 2024.0.0.3005-port-DE, Win 11 pro, I7-6700, 16GB RAM, DB & Media>TrueNAS
Peke
Posts: 17457
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Search: "foo bar" doesn't find "foo barman" [#19430] [#19436]

Post by Peke »

Hi,
Timo_Beil wrote: Sat Oct 08, 2022 8:17 am !! PEKE !!...
Yes, at your service ;) Kidding, for me it looks normal that contextual works different than Global, because it adds additional filter to current filtered view, where global is on Library level, that may or may not comply with current filtered view.
Or I understand this incorrectly?

EDIT: During these tests past few days I have found that only feature I am really missing is "Ignore diacritics / match within words", but as internally talked it is limitation in SQL (unless we want that DB is 4x larger due the all various indexes, that would make it slower than it is now. In the end I am satisfied with "Respect diacritics / match within words" where I only need to pat attention to search same phrase without and with diacritics (eg. "ć" and "c") to get all the results. Benefit to this approach is that I can also see what metadata needs correction.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Timo_Beil
Posts: 662
Joined: Thu Sep 20, 2007 1:00 pm
Location: Germany, Northern Heath

Re: Search: "foo bar" doesn't find "foo barman" [#19430] [#19436]

Post by Timo_Beil »

Peke wrote: Sat Oct 08, 2022 6:17 pm Or I understand this incorrectly?
It just seems so. (I'm a little shocked at how inexperienced you think I am)
To show the differences, I have extended the table by the results from the contextual search.
In both cases, the node is Entire Library>All Tracks. OK means, all Desmond Dekker tracks are found (Not that the results make sense to me).

________________Global______________________________________Contextual
1. Ignore diacritics / Match beginning of words
1.1 "Desmond" -> ok______________________________________________ok
1.2 "desmond" -> no results_______________________________________no results
1.3 "desmond Dekker" -> ok_______________________________________ok
1.4 "Desmond Dekk" -> no results_________________________________ok

2. Ignore diacritics /Search whole words only
2.1 "Desmond" -> ok______________________________________________ok
2.2 "desmond" -> no results_______________________________________no results
2.3 "desmond Dekker" -> ok_______________________________________ok
2.4 "Desmond Dekk" -> no results_________________________________ok

3. Respect diacritics / Match within words
3.1 "Desmond" -> ok______________________________________________ok
3.2 "desmond" -> ok______________________________________________ok
3.3 "desmond Dekker" -> ok_______________________________________ok
3.4 "Desmond Dekk" -> ok_________________________________________ok

4. Respect diacritics / Search whole words only
4.1 "Desmond" -> ok______________________________________________ok
4.2 "desmond" -> ok______________________________________________ok
4.3 "Desmond Dekker" -> Only with Desmond Dekker in path______ok
4.4 "Desmond Dek" -> no results__________________________________ok

As can be easily seen, the results differ in all n.4 (except n=3).

Most critical is the bug in 4.3, where the global search only searches in the path, as I have already shown in https://www.mediamonkey.com/forum/viewt ... 05#p501605.

I do not find fault with the options offered in "Search mode".
EDIT: Thanks for clarification in mantis.
Last edited by Timo_Beil on Mon Oct 10, 2022 3:00 am, edited 1 time in total.
MM 2024.0.0.3005-port-DE, Win 11 pro, I7-6700, 16GB RAM, DB & Media>TrueNAS
Barry4679
Posts: 2408
Joined: Fri Sep 11, 2009 8:07 am
Location: Australia
Contact:

Re: Search: "foo bar" doesn't find "foo barman" [#19430] [#19436]

Post by Barry4679 »

Hi Timo-Bell

I think that 4.3 is a sub-set of the general fault affecting **GLOBAL** double quoted queries.

The entry in the Mantis bug list has been amended to better reflect the issues discussed in this thread.
Want a dark skin for MM5? This is the one that works best for me .. elegant, compact & clear.
Peke
Posts: 17457
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Search: "foo bar" doesn't find "foo barman" [#19430] [#19436]

Post by Peke »

Timo_Beil wrote: Sun Oct 09, 2022 3:27 am It just seems so. (I'm a little shocked at how inexperienced you think I am)
No, never. I am trying to figure out where we made mistake :(
As user looks like I'm just using MM differently, different language, ... like I Only have 1 track from "Desmond Dekker" in my 200k library :)
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Post Reply