Windows 7/8/10中的内置搜索功能明显优于Windows Vista和 XP 中可怕的搜索选项。无需安装第三方程序来搜索计算机内部文件中的文件,您现在可以从Windows 7/8/10轻松完成。
例如,假设您是一名程序员或 Web 开发人员,并且您希望能够搜索您的代码文件,例如.aspx、.html、.java、.php等。在Windows 7中,您可以将搜索索引器配置为不仅可以索引您想要的任何文件,还可以索引文件内容。
默认情况下,Windows 7/8/10中的搜索索引器(Search Indexer)会索引存储文件的最常见位置,即所有库、用户(User)文件夹中的所有内容和电子邮件。如果这还不够,您可以轻松添加或删除索引位置。
但是,需要明确的是,有一些非常好的第三方程序可以让您比 Windows更快、更高级地搜索文本文件。(faster and more advanced searches of text files)
在Windows(Windows)中配置索引选项
这意味着您可以告诉Windows 7/8/10对网络驱动器或外部硬盘驱动器上的文件和文件夹进行索引并返回结果。要开始,请单击开始(Start),然后在搜索(search)框中输入搜索。
这将打开索引选项( Indexing Options)对话框。在Windows 10中,您将单击更改 Windows 搜索方式(Change how Windows searches)。在顶部,您将看到当前已在您的计算机上编制索引的项目总数。在此之下,您将看到已包含在索引中的所有位置的列表。
要向索引添加新位置,请单击修改(Modify)按钮。任何网络驱动器或外部硬盘驱动器都将显示在可能位置列表中。您可以勾选任何您想包含在索引中的驱动器或文件夹。
根据一个位置有多少文件和文件夹,搜索索引器可能需要一些时间来索引所有内容。如果您注意到某些文件没有被搜索索引器索引,即使它们包含在搜索位置中,您可能需要添加文件类型。
您可以通过单击主索引选项( Indexing Options)屏幕上的高级按钮来执行此操作。(Advanced)然后单击文件类型(File Types)选项卡。
如果文件扩展名不在列表中,请继续并将其添加到底部。然后选择它并选择是否要仅索引属性或属性和文件内容。如果您知道该文件仅包含文本,请确保选择第二个单选按钮。
您还可以单击索引设置(Index Settings)来修改搜索索引器(Search Indexer)的一些设置。
在这里,您可以选择索引加密文件和其他选项,例如将带有变音符号的相似单词视为不同的单词。如果您在使用Windows搜索时遇到问题或某些内容已损坏,您可以通过单击“重建(Rebuild)”按钮来重建索引。
最后,您可以将搜索索引完全移动到另一个磁盘或分区。如果您有一个更快的硬盘驱动器,而操作系统未在其上运行,那么移动它以使其运行速度更快可能是个好主意。类似于(Similar)将页面文件移动到另一个磁盘会使事情运行得更快。
总体而言,Windows 7/8/10中的新搜索功能得到了极大的增强,可以让您自定义大部分搜索选项。享受!
Windows 7/8/10 File Search Indexing Options
The built-in search feаture in Windows 7/8/10 is significantly better than the horrible ѕearch options in Windows Vista and XP. Instead of installing a third-party program to ѕearch for files on inside files on your computer, you can now do it with easily from Windоws 7/8/10.
For example, let’s say you’re a programmer or web developer and you want to be able to search your code files like .aspx, .html, .java, .php, etc. With Windows 7, you can configure the search indexer to not only index any file you want, but also to index the file contents.
By default, the Search Indexer in Windows 7/8/10 indexes the most common locations where your files would be stored, i.e. all libraries, everything in your User folder, and e-mail. If this is not enough, you can add or remove index locations easily.
However, to be clear, there are some really good third-party programs that will let you do faster and more advanced searches of text files than Windows ever could.
Configure Indexing Options in Windows
That means you can tell Windows 7/8/10 to index and return results from files and folder on network drives or external hard drives. To get started , click on Start, then type in search into the search box.
This will bring up the Indexing Options dialog. In Windows 10, you’ll click on Change how Windows searches. At the top, you’ll see the total number of items that have currently been indexed on your computer. Below that, you will see a list of all the locations that have been included for indexing.
To add a new location to the index, click on the Modify button. Any network drive or external hard drive will show up in the list of possible locations. You can check off any drive or folder that you would like to include in the index.
Depending on how many files and folders are in a location, it could take some time for search indexer to index everything. If you have noticed that certain files are not being indexed by search indexer even though they are included in the search locations, you may have to add the file type.
You can do this by clicking on the Advanced button on the main Indexing Options screen. Then click on the File Types tab.
If the file extension is not in the list, go ahead and add it at the bottom. Then select it and choose whether you want to index just the properties or the properties and the file contents. If you know the file contains only text, make sure to select the second radio button.
You can also click on Index Settings to modify some of the settings for the Search Indexer.
Here you can choose to index encrypted files and other options like treating similar words with diacritics as different words. If you are having problems with Windows search or something has become corrupted, you can rebuild the index by clicking the Rebuild button.
Lastly, you can completely move the search index to another disk or partition. If you have a faster hard drive that the OS is not running on, it might be a good idea to move it so that it performs faster. Similar to how moving the paging file to another disk will make things run faster.
Overall, the new search features in Windows 7/8/10 are greatly enhanced and let you customize most of the search options. Enjoy!