Filter for content, how to mimic the extended search version?
Filter for content, how to mimic the extended search version?
Using content:searchitem works from the search field. However, i'd like to use a filter, that has the content: argument, but if i type the item into the search field, no results are returned. Is there a way to use a function or filter, that only requires the query in the search field?
Re: Filter for content, how to mimic the extended search version?
To create a filter to search file content with the text specified in the search box:
Enabling Tools -> Options -> Results -> Hide results when the search is empty might be beneficial.
- In Everything, from the Search menu, click Add to filters....
- Change the Name to: Content
- Change the Search to: content:search:
- Change the Macro to: mycontentmacro<search>
- Click OK.
Enabling Tools -> Options -> Results -> Hide results when the search is empty might be beneficial.
Re: Filter for content, how to mimic the extended search version?
Thanks. It works well!