latabar Posted November 23, 2009 Share Posted November 23, 2009 When I search a file I get search results on both file name and content, but I would like to search on either of them Is it possible ? Link to comment https://www.neowin.net/forum/topic/848534-cannot-search-on-file-name-but-not-content/ Share on other sites More sharing options...
Brandon Live Veteran Posted November 24, 2009 Veteran Share Posted November 24, 2009 Not sure what you're asking. If you're searching an indexed location (like a Library), the default behavior is to search all properties and content. If you're searching an unindexed location, the default is to just search properties (including name), and there's a button at the bottom of the results that lets you search in file contents (which is very slow for non-indexed folders). If you just want to search for things with "foobar" in the name, type "name:foobar" into the search box. If you only want matches in the content, type "content:foobar" instead. Link to comment https://www.neowin.net/forum/topic/848534-cannot-search-on-file-name-but-not-content/#findComment-591888358 Share on other sites More sharing options...
latabar Posted November 24, 2009 Author Share Posted November 24, 2009 You have answered my question. But what is "indexing" ? do I have to care about it ? Not sure what you're asking.If you're searching an indexed location (like a Library), the default behavior is to search all properties and content. If you're searching an unindexed location, the default is to just search properties (including name), and there's a button at the bottom of the results that lets you search in file contents (which is very slow for non-indexed folders). If you just want to search for things with "foobar" in the name, type "name:foobar" into the search box. If you only want matches in the content, type "content:foobar" instead. Link to comment https://www.neowin.net/forum/topic/848534-cannot-search-on-file-name-but-not-content/#findComment-591890446 Share on other sites More sharing options...
latabar Posted November 24, 2009 Author Share Posted November 24, 2009 Is it possible to save the search word in the Search field of the Startmenu ? (just like when searching in a folder) Link to comment https://www.neowin.net/forum/topic/848534-cannot-search-on-file-name-but-not-content/#findComment-591890708 Share on other sites More sharing options...
Roger H. Veteran Posted November 25, 2009 Veteran Share Posted November 25, 2009 I think you're better off making a library or something? I'm not on 7 now but i think you can use your saved searches and make them a library and then you should be able to either make a shortcut to that or pin it to your start menu? Link to comment https://www.neowin.net/forum/topic/848534-cannot-search-on-file-name-but-not-content/#findComment-591893832 Share on other sites More sharing options...
Kpssst Posted November 25, 2009 Share Posted November 25, 2009 You have answered my question. But what is "indexing" ? do I have to care about it ? Indexing is basically exactly like it sounds like. It organizes files/folders of areas specified in some order (an index) in an effort to speed up searching. For example, let's say you have a bunch of words organized randomly. If you were looking for a certain word, you could just look through each word until you get to the one you're looking for, which could take a long time depending on luck, and how big the list of words are. However, let's say you organized it alphabetically. Then you would be able to cut your search time significantly (as well as make the time more consistent) because you would know where to look. Another example is a novel vs. a dictionary. Let's say you wanted to know if the word "evangelical" was in either. It would be definitely be easier to look for the word in the dictionary because you know where exactly and how to narrow it down. This is opposed to a novel where you could end up looking through the entire book and not finding the word at all--but you can't be sure the word isn't there until you looked through the entire book. So basically (long-winded I know), index just makes searching faster. Link to comment https://www.neowin.net/forum/topic/848534-cannot-search-on-file-name-but-not-content/#findComment-591894978 Share on other sites More sharing options...
Recommended Posts