Suggest: Add "match-path:" modifier verb to turn on Match Path

Discussion related to "Everything" 1.5 Alpha.
Post Reply
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Suggest: Add "match-path:" modifier verb to turn on Match Path

Post by raccoon »

The verb nopath: can be used to modify a single search term to turn off "Match Path".
nopath: cannot be used as a global modifier for an entire search query. (Please allow this, too.)

Please add the verb match-path: to turn on "Match Path" for a single search term or for an entire search query.
Similarly no-match-path as a global modifier or single-term modifier.

Examples below.

The quick brown fox match-path: --> Asserts that "Match Path" is used for the entire search query.
match-path: The quick brown fox --> Asserts that "Match Path" is used for the entire search query. (note the space between "match-path:" and "The")

match-path:The quick brown fox --> Asserts that "Match Path" is used only for the word "The" and the rest of the search query uses the default Match Path setting.

match-path:The match-path:quick match-path:brown nopath:fox ...
match-path:The match-path:quick match-path:brown no-match-path:fox ...
match-path:<The quick brown> no-match-path:fox ...
The words "The" and "quick" and "brown" must appear anywhere in the path or object name, but the word "fox" must appear in the object-name (file or folder) and not just anywhere in the object's path.

Please allow nopath: to work as a global modifier the same as no-match-path: if it stands alone separated by spaces.
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Suggest: Add "match-path:" modifier verb to turn on Match Path

Post by void »

Use the :: prefix to enable a search modifier globally.

For example, to disable match path for the rest of the search:
::nopath:


Note: global modifiers will only apply to search terms to the right of the modifier.

I will consider a match-path: alias for path:
Thanks for the suggestion.
Post Reply