Somehow I can't manage to build a search query that lets me find filenames containing "searchstring".
Any query I tried (and I tried!) will also report files that are in a folder that contains "searchstring" in it's name ...
Example:
searching for "find this" will report "c:\you'll never find this\dummy.txt" beside the expected "c:\folder\you should find this.txt"
What am I missing? (beside a brain-cell or two ...)
If there isn't a way to search for just filenames: please consider adding a search modifier to do so. Something like "namepart:"
EDIT: namepart: probably isn't the best name for this, as there is also a function namepartdupe: to get the file(/folder) name without extension. It was just for illustration purposes.
Search for *just* the filename?
Re: Search for *just* the filename?
Code: Select all
file: "find this"
Re: Search for *just* the filename?
Disable match path from the Search menu?
There is also nopath: search modifier if you want match path enabled from the Search menu.
There is also nopath: search modifier if you want match path enabled from the Search menu.
Re: Search for *just* the filename?
Perfect! That's what I overlooked! So simple (once you know ...)void wrote:Disable match path from the Search menu?
There is also nopath: search modifier if you want match path enabled from the Search menu.
Thanks!!!
PS: And now I want my two brain-cells back! )
@therube:
file: "find this" will also match the dummy.txt from the example (unless you disable Match Path..)
EDIT: I must have read the Searching support page 4 times and overlooked this all this time:
Now I feel really stupid ...path:
nopath: Match the full path and file name or just the filename.
Re: Search for *just* the filename?
known issue...
To get over such problems, try to set in Home tab:
Match path: disabled
etc..
I hope it will be solved in Everything 1.5.
I suggested once checkboxes: [ ] Match Name [ ] Match Path ...
viewtopic.php?f=10&t=4956#p12606
To get over such problems, try to set in Home tab:
Match path: disabled
etc..
I hope it will be solved in Everything 1.5.
I suggested once checkboxes: [ ] Match Name [ ] Match Path ...
viewtopic.php?f=10&t=4956#p12606
Re: Search for *just* the filename?
I like using the indicators in the Everything status bar. It's a reminder of the current setting, but you can also use it to switch a modifier off by double clicking it. Right-click the status bar to switch any of them back on.Stamimail wrote:known issue...
To get over such problems, try to set in Home tab:
Match path: disabled
etc..
I hope it will be solved in Everything 1.5.
I suggested once checkboxes: [ ] Match Name [ ] Match Path ...
viewtopic.php?f=10&t=4956#p12606
Re: Search for *just* the filename?
But if you didn't notice the indicator, it means it's not enough.I like using the indicators in the Everything status bar ...
More than once, I wondered if it would be right to suggest "Double Status bar", the same status bar at bottom and above the Results part.
Sometimes you need the indicator at bottom, but many times you need the indicators close to the SearchBox.
Re: Search for *just* the filename?
Turns out it mainly was ... not enough coffee!Stamimail wrote:But if you didn't notice the indicator, it means it's not enough.