Match Path not working from filters
-
- Posts: 14
- Joined: Mon Sep 04, 2023 4:12 am
Match Path not working from filters
I'm having an issue setting up a filter to "Match Path"
My goal for the filter is to search for a folder in a particular location and return results for the folders inside the folder I'm searching for. So search in specific folder (Level 1), search parameters for a folder (level 2), return results of folders inside of (level 2) folder.
I create a Bookmark with Match Path enabled. It works. I create the same thing as a filter, it doesn't work. Am I doing something wrong?
My goal for the filter is to search for a folder in a particular location and return results for the folders inside the folder I'm searching for. So search in specific folder (Level 1), search parameters for a folder (level 2), return results of folders inside of (level 2) folder.
I create a Bookmark with Match Path enabled. It works. I create the same thing as a filter, it doesn't work. Am I doing something wrong?
Re: Match Path not working from filters
What's the search you used for the filter?
Did you check the Match Path checkbox in the filter?
Please try with the following filter:
Disable all search options and set the search to:
folder:parent:"C:\my level 1 folder"
(this will show all folders under "C:\my level 1 folder")
Did you check the Match Path checkbox in the filter?
Please try with the following filter:
Disable all search options and set the search to:
folder:parent:"C:\my level 1 folder"
(this will show all folders under "C:\my level 1 folder")
-
- Posts: 14
- Joined: Mon Sep 04, 2023 4:12 am
Re: Match Path not working from filters
Yes, The checkbox for Match Path is enabled. That's what's confusing me.
I set up the same settings as a bookmark. Using the bookmark to do the search works to search the file path. But setting up the same thing as a filter doesn't get the same results.
My "home" search settings have all settings disabled. So Match Path is disabled on a new window. So the filter doesn't seem to be activating that when selected.
I did what you said. No results. But from my understanding, it should be?
folder:|parent:"c:\level 1 folder"
So I did above. Still not searching the path.
I set up the same settings as a bookmark. Using the bookmark to do the search works to search the file path. But setting up the same thing as a filter doesn't get the same results.
My "home" search settings have all settings disabled. So Match Path is disabled on a new window. So the filter doesn't seem to be activating that when selected.
I did what you said. No results. But from my understanding, it should be?
folder:|parent:"c:\level 1 folder"
So I did above. Still not searching the path.
-
- Posts: 14
- Joined: Mon Sep 04, 2023 4:12 am
Re: Match Path not working from filters
Last edited by void on Mon Sep 04, 2023 4:54 am, edited 1 time in total.
Reason: fixed image link
Reason: fixed image link
Re: Match Path not working from filters
| = ORI did what you said. No results. But from my understanding, it should be?
folder:|parent:"c:\level 1 folder"
please make sure there's no space after parent:
Maybe I am misunderstanding what you are trying to do.
Could you please provide an example of your search, filter search and an expected result.
As an example, with your filter active and the search set to:
system32
Are you trying to find folders inside C:\Windows\System32 ?
where C:\windows is the level 1 folder.
-If so, please try the following filter search:
folder:parent:"C:\windows\"$param:
-
- Posts: 14
- Joined: Mon Sep 04, 2023 4:12 am
Re: Match Path not working from filters
This is what's happening.
This is what I'm trying to achieve for the results.
This is what I'm trying to achieve for the results.
-
- Posts: 14
- Joined: Mon Sep 04, 2023 4:12 am
Re: Match Path not working from filters
Yes, I click okay, then I reopen it to show how it's setup.
First photo is exactly what you told me to put.
Second photo I added the bar " | "
First photo is exactly what you told me to put.
Second photo I added the bar " | "
Re: Match Path not working from filters
$param: will only work with 1355a+
Please try changing your Distributed filter search to:
Change the Distributed filter macro to:
Please make sure you click OK to save changes under Organize Filters.
Please try changing your Distributed filter search to:
Code: Select all
folder:parent:C:\Users\soul4\OneDrive\Software\Apps\search:
Code: Select all
D<search>
-
- Posts: 14
- Joined: Mon Sep 04, 2023 4:12 am
Re: Match Path not working from filters
And I don't know what you mean by change macro to D<search>.
I put it in exactly like you have it?
I put it in exactly like you have it?
Re: Match Path not working from filters
Yes, exactly as shown.
-
- Posts: 14
- Joined: Mon Sep 04, 2023 4:12 am
Re: Match Path not working from filters
No result.
Adding the " | " broke the search. It searched everything nothing specific to the directory set.
Adding the " | " broke the search. It searched everything nothing specific to the directory set.
-
- Posts: 14
- Joined: Mon Sep 04, 2023 4:12 am
Re: Match Path not working from filters
Here are my settings if it helps.
-
- Posts: 14
- Joined: Mon Sep 04, 2023 4:12 am
Re: Match Path not working from filters
Okay, I missed the ¶m & search: comment.
Here's the result.
Here's the result.
-
- Posts: 14
- Joined: Mon Sep 04, 2023 4:12 am
Re: Match Path not working from filters
This is what worked. Adding D<search> made it work. Thank you void.
-
- Posts: 14
- Joined: Mon Sep 04, 2023 4:12 am
Re: Match Path not working from filters
I figured out why the Match Path isn't working in filters.
The switch count is off in the CSV file. Or the description in the GUI of the check mark is off.
So pretty much the option "Match Prefix" is what controls "Match Path" and maybe vice versa?
Edit: NVM, i'm wrong.
The switch count is off in the CSV file. Or the description in the GUI of the check mark is off.
So pretty much the option "Match Prefix" is what controls "Match Path" and maybe vice versa?
Edit: NVM, i'm wrong.
Re: Match Path not working from filters
I haven't been able to produce the issue.
What program are you using to view the CSV file?
If you add a filter with Match Path checked.
Exit Everything (File -> Exit)
Restart Everything.
Is the Match Path box still checked for this filter?
What program are you using to view the CSV file?
If you add a filter with Match Path checked.
Exit Everything (File -> Exit)
Restart Everything.
Is the Match Path box still checked for this filter?
-
- Posts: 14
- Joined: Mon Sep 04, 2023 4:12 am
Re: Match Path not working from filters
Disregard what I said about the csv. I'm an idiot.
But it works now. With the addition of "search:" & <search>.
Another way it works without those additions is if my search paramaters have \ in the beginning or end of my search.
I guess there really was no issue. User error it looks like. I thought the filters worked the same way as the bookmarks but it doesn't look that way.
But it works now. With the addition of "search:" & <search>.
Another way it works without those additions is if my search paramaters have \ in the beginning or end of my search.
I guess there really was no issue. User error it looks like. I thought the filters worked the same way as the bookmarks but it doesn't look that way.