BUG: The new hidden pref UseFullPathForParentFolder doesn't seem to work [message #1592] |
Sat, 10 December 2022 11:56 |
Atlas
Messages: 140 Registered: August 2009
|
Senior Member |
|
|
These are the steps I took:
1. Updated to Version 7.5.3
2. Use Prefs Editor (as recommended) to turn on the preference UseFullPathForParentFolder
3. Restarted my entire system (not just the app)
4. Create new index that targets a folder named "History and ethics of the Village Idiot", which has 5 files in it
5. Run a new search with the following criteria:
(1) Apply "Any file or folder"
(2) Second criteria use "Apply advanced filter" -> Other metadata -> "Contain any of the strings" -> "Ignore Case"+"Ignore Composition"+"Multiple String"+Turn off all other options -> Apply search string "idiot"
(3) I changed the default multiple string separator in advanced search to "," which is a comma with no space before or after.
6. Result: ONE result, which is a file that contains "idiot" in its name.
Expected Results: If the hidden preference "UseFullPathForParentFolder" indexes the full path of the parent folder (as described in version release), then the above search should return at least FIVE search results right? There are five files inside the indexed folder, whose parent folder contains "idiot" in its name.
|
|
|
|
|
Re: BUG: The new hidden pref UseFullPathForParentFolder doesn't seem to work [message #1612 is a reply to message #1592] |
Wed, 18 January 2023 15:44 |
FoxTrot Engineering
Messages: 406 Registered: April 2020
|
Senior Member |
|
|
The cause of the problem is that [Other metadata] has a different meaning when searching (i.e. [Other metadata] [includes all of the words]) and when filtering (i.e. [then apply advanced filter] [other metadata] [contains the string]).
In the first case, [other metadata] includes the parent folder name (or relative or absolute path when setting the hidden preferences), but in the latter case, it does not (it only includes some "uncategorized" metadata). This is not coherent, thus in version 7.5.4 this will change and filtering [other metadata] will also include the the parent folder name (or path).
Jérôme - FoxTrot Engineering
|
|
|
|