Windows 11/10 具有强大的搜索(Search)功能,可让您快速搜索计算机上的文件。Windows Search创建并使用所谓的索引(Index)在您的计算机上执行非常快速的搜索。本文将告诉您如何配置Windows Search及其索引选项,以便您充分利用它。
Windows 搜索索引提示(Windows Search Indexing Tips)和技巧(Tricks)
1]Configure Windows 11/10 搜索索引(Search Indexing)
您可以配置您的Windows 搜索(Windows Search)和索引器(Indexer)以满足您的要求。为此,您必须 通过Control Panel > All Control Panel Items > Performance Information and Tools打开(Tools)索引选项(Indexing Options)。
在这里,您将看到正在编入索引的位置。您还可以修改索引(Index)位置。如果您愿意,可以随时在此处暂停索引编制,每次 15 分钟,方法是单击“暂停”(Pause)按钮。高级(Advanced)按钮为您提供了更多选项,我们将在下面看到。所有这些都由SearchIndexer.exe管理。
2]什么是SearchIndexer.exe
您可能在Windows 任务管理器(Windows Task Manager)中遇到了一个名为SearchIndexer.exe的进程。此过程是管理Windows Search文件索引的实际服务。
如果您右键单击此进程并选择 Go to Service,您将看到一个名为WSearch的(WSearch)Windows 服务与其相关联。WSearch服务提供和管理(WSearch)Windows操作系统中的内容索引、属性缓存和搜索结果。如果您在任何时候发现您希望终止此进程,则应单击“结束进程树”(End Process Tree)以终止它及其相关进程。
阅读(Read):什么是搜索索引(Search Indexing)以及它如何影响Windows 10中的搜索?
3] Windows 搜索索引的位置
默认情况下,Windows 搜索索引(Windows Search Index)位于以下位置:C:\ProgramData\Microsoft\Search。但是如果你想改变它的位置,你可以很容易地做到这一点。转到此处查看如何更改 Windows 搜索索引的位置。此操作将重新启动Windows Search 服务(Windows Search Service),索引将重新进行并保存在此新位置。
4]添加(Add)或删除要索引的文件夹
将任何内容添加到搜索索引的最简单方法是将其包含在Library中。但是您也可以通过Indexing Options这样做。单击修改(Modify)将打开一个对话框,其中将显示所有当前索引的位置。
在这里,您可以添加或删除索引位置,并决定要添加或删除哪些文件夹。
默认情况下,您计算机上的大多数常用用户文件都已编入索引。索引位置包括库(Libraries)、电子邮件和脱机文件中包含的所有文件夹。Windows文件夹、程序(Program)文件和系统文件通常不编入索引。
您应该只包括那些您经常搜索的文件夹,否则您的索引可能会变得太大,这反过来可能会减慢您的常规搜索速度。
阅读(Read):如何更改搜索索引的位置。
5]添加(Add)或删除(Remove File Types)要索引的文件类型
Windows 搜索索引器(Windows Search Indexer)有一组默认文件类型,它会为其编制索引。但如果您愿意,您可以更改这些文件类型。为此,请单击索引(Indexing)选项中的(Options)高级(Advanced)按钮。
在打开的框中,您将能够检查、取消选中文件类型以选择或取消选择它们,甚至可以将新的文件扩展名添加到列表中。
6]索引加密文件
在索引(Indexing)选项的(Options)高级(Advanced)选项卡下,您还可以将其设置为加密的索引文件。您可以在这篇文章中看到最后一张图片。
但在将加密文件添加到索引之前,出于安全目的,建议您在系统驱动器上启用Windows BitLocker(或非 Microsoft文件加密软件)。(File Encryption Software)如果您不这样做,Windows可能会向您显示黄色安全警告,说明无法验证文件。( Cannot Verify Files.)
7]禁用(Disable)searchindexer.exe或搜索索引器(Search Indexer)
人们经常建议您禁用搜索索引器(Search Indexer)以节省资源并使您的 Windows 计算机更快(make your Windows computer faster)。但这并不完全正确。只有在您的计算机空闲时才会进行索引编制。(Indexing)当它忙时,索引会暂停。
但是,如果您不经常使用Windows Search并且想禁用Windows Search,您可以执行以下操作:
打开Control Panel > Programs和Features > Turn Windows Features或关闭 Windows 功能。在这里取消选中索引服务(Indexing Service)复选框。单击确定(Click OK)并重新启动(Restart)计算机。
此外,您还可以打开Services.msc并导航到 Windows Search服务。右键单击它并选择属性。
这里将其启动类型设置为Disabled。Click Apply/OK并重新启动计算机。
阅读(Read):如何在 Windows 中重置 Windows 搜索(Reset Windows Search)。
8]重建搜索索引(Rebuild Search Index)并恢复搜索默认值(Restore Search Defaults)
如果您觉得您的搜索索引已损坏,您可以轻松地重建您的搜索索引(rebuild your search index)。
为此,请打开Control Panel > System和Maintenance > Indexing 选项(Options)。在高级(Advanced) 选项(Options)中,单击(Click)恢复默认值(Restore Defaults)和重建索引(Rebuild Index)。单击确定(Click OK)。
阅读(Read):索引器诊断工具(Indexer Diagnostics Tool)将帮助修复Windows 10 搜索索引器(Search Indexer)问题。
Windows 搜索索引器(Windows Search Indexer)已停止工作
如果您发现您的搜索索引器(Search Indexer)工作不正常,您可能需要查看我们的教程,了解如何 根据发布的第一个 MVP Fix It 对Windows 搜索索引器错误进行故障排除(Troubleshoot Windows Search Indexer errors)。如果您遇到Windows Search本身的问题,请查看Windows Search 疑难解答。
阅读下一篇(Read next):修复SearchIndexer.exe 高磁盘或 CPU 使用率。
Do let us know if you have any additional tips to share!
Search Indexer and Indexing Tips & Tricks for Windows 11/10
Windows 11/10 has a powerful Search feature thаt allows you to quickly search for files on your сomputer. Windows Search creates and then uses what is called the Index to perform very fast searches on your computer. This article will tell you how to configure Windows Search and itѕ indexіng options so that you get the best out of іt.
Windows Search Indexing Tips & Tricks
1] Configure Windows 11/10 Search Indexing
You can configure your Windows Search and Indexer to suit your requirements. To do so, you will have to open the Indexing Options via Control Panel > All Control Panel Items > Performance Information and Tools.
Here you will see the locations which are being indexed. You can also Modify the Index locations. If you wish, at any point in time, you can pause indexing here, for 15 minutes at a time, by clicking on the Pause button. The Advanced button gives you some more options, which we will see below. All this is managed by SearchIndexer.exe.
2] What is SearchIndexer.exe
You may have come across a process called the SearchIndexer.exe in your Windows Task Manager. This process is the actual service that manages the indexing of your files for Windows Search.
If you right-click on this process and select Go to Service, you will see that a Windows Service called WSearch is associated with it. The WSearch service provides and manages content indexing, property caching, and search results in Windows operating system. If at any point in time you find that you wish to terminate this process, you should click on End Process Tree to terminate it as well as its related processes.
Read: What is Search Indexing and how does it affect searching in Windows 10?
3] Location of Windows Search Index
By default, the Windows Search Index is situated at the following location: C:\ProgramData\Microsoft\Search. But if you want to change its location, you can do it easily. Go here to see how to change the location of the Windows Search Index. This operation will restart Windows Search Service, and indexing will take place afresh and be saved at this new location.
4] Add or remove folders to be indexed
The easiest way to add anything to the search index is to include it in the Library. But you can also do so via the Indexing Options. Clicking on Modify will open a dialog box that will show all the currently indexed locations.
Here, you can add or remove index locations and decide which folders you’d like to add or to be removed.
By default, most of the common user files on your computer are indexed. Indexed locations include all folders included in Libraries, e-mail, and offline files. Windows folder, Program files and system files are normally not indexed.
You should include only those folders which you routinely search, else your index may become too large, which in turn may slow down your regular searches.
Read: How to change the location of Search Index.
5] Add or Remove File Types to be indexed
The Windows Search Indexer has a set list of default file types that it indexes. But if you wish, you can change these file types. To do so, click on the Advanced button in the Indexing Options.
In the box which opens you will be able to check, un-check file types to select or de-select them, and even add a new file extension to the list.
6] Index Encrypted Files
Under the Advanced tab of the Indexing Options, you can also set it to encrypted index files. You can see the last image in this post.
But before you add encrypted files to the index, it is recommended that you have Windows BitLocker (or a non-Microsoft File Encryption Software) enabled on your system drive for security purposes. If you don’t Windows may show you a yellow security warning saying Cannot Verify Files.
7] Disable searchindexer.exe or Search Indexer
People often recommend that you disable the Search Indexer to save resources and make your Windows computer faster. But this is not exactly true. The Indexing takes place, only when your computer is idle. When it is busy, indexing is paused.
But nevertheless, if you do not use the Windows Search frequently and would like to disable Windows Search, you can do so as follows:
Open Control Panel > Programs and Features > Turn Windows Features on or off. Here uncheck the Indexing Service checkbox. Click OK and Restart the computer.
Additionally, you could also open Services.msc and navigate to Windows Search service. Right-click on it and select Properties.
Here set its startup type to Disabled. Click Apply/OK and restart your computer.
Read: How to Reset Windows Search in Windows.
8] Rebuild Search Index and Restore Search Defaults
If you feel that your search index has corrupted, you can rebuild your search index easily.
To do so, open Control Panel > System & Maintenance > Indexing Options. In the Advanced Options, Click on Restore Defaults and Rebuild Index. Click OK.
Read: Indexer Diagnostics Tool will help fix Windows 10 Search Indexer problems.
Windows Search Indexer has stopped working
If you find that your Search Indexer is not working correctly, you may want to check our tutorial on how to Troubleshoot Windows Search Indexer errors based on which the first MVP Fix It was released. If you are facing problems with Windows Search itself, check out the Windows Search Troubleshooter.
Read next: Fix SearchIndexer.exe High Disk or CPU usage.
Do let us know if you have any additional tips to share!