Hello,
Is there any way to set Everything to automatically search content without having to add the "content:" modifier to the search query?
Thanks in advance!
Search content automatically without "content:" modifier?
Re: Search content automatically without "content:" modifier?
Please try creating a Filename or Content filter:
Active the Filename or Content filter to search for filenames or content.
For the best performance, consider indexing content from Tools -> Options -> Content.
- In Everything, from the Search menu, click Add to filters....
- Set the Name to:
Filename or Content - Change the Search to:
#replaceterms:#(:search:#):,#(:<#term:|content:#term:>#): - Change the Macro to:
filenameorcontent<search> - Click OK.
Active the Filename or Content filter to search for filenames or content.
For the best performance, consider indexing content from Tools -> Options -> Content.
Re: Search content automatically without "content:" modifier?
Thank you, that seems to be working!
I also moved this new search filter to the top of the list in Manage Filters, will this make it the "default" filter?
Thanks again!
I also moved this new search filter to the top of the list in Manage Filters, will this make it the "default" filter?
Thanks again!
Re: Search content automatically without "content:" modifier?
The 'default filter' is whatever you have specified under Tools -> Options -> General -> Home -> Filter:
Re: Search content automatically without "content:" modifier?
Note: you can customize your Everything filter:
- In Everything, from the Search menu, click Organize filters....
- Select Everything and click Edit....
- Change the Search to:
#replaceterms:#(:search:#):,#(:<#term:|content:#term:>#): - Change the Macro to:
filenameorcontent<search> - Click OK.
- Click OK.
-
- Posts: 623
- Joined: Wed Jun 01, 2022 5:01 pm
Re: Search content automatically without "content:" modifier?
[I came here from this discussion: viewtopic.php?p=64817#p64817]
So how can I find all files that have written in them e.g.
and not files named like
by the means of choosing a Filter and then writing in Search Edit
?
This works - but it also shows on list with results all items that happen to have in them whatever I will put in the box of Search Editvoid wrote: ↑Wed Feb 23, 2022 8:45 am Please try creating a Filename or Content filter:[...]
- In Everything, from the Search menu, click Add to filters....
- Set the Name to:
Filename or Content- Change the Search to:
#replaceterms:#(:search:#):,#(:<#term:|content:#term:>#):- Change the Macro to:
filenameorcontent<search>- Click OK.
So how can I find all files that have written in them e.g.
Code: Select all
my-name
Code: Select all
this is my-name
my-name and last name
Code: Select all
my-name
-
- Posts: 388
- Joined: Thu Dec 15, 2016 9:44 pm
Re: Search content automatically without "content:" modifier?
A side suggestion here, when you right-click in the preview box you could have a "Search for content" menu item analogous to when you click a column heading, which would place a
phrase in the search edit box.
David
Code: Select all
content:
David
Re: Search content automatically without "content:" modifier?
To create a filter to search file content only:So how can I find all files that have written in them e.g.
- In Everything, from the Search menu, click Add to filters....
- Set the Name to:
Content - Change the Search to:
content:$param: - Click OK.
I have on my TODO list to add my own text preview handler with search functionality.
Thank you for the suggestion.