为什么索引在重建后包含更多文件? [英] Why the index contains much more files after rebuilding?

查看:89
本文介绍了为什么索引在重建后包含更多文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在Windows Server 2008上具有Windows搜索.找不到某些文件,因此我决定重建索引.
重建索引后,有55.000个文件被索引.但是在重建之前,该索引仅包含了43000个文件.为什么有些文件以前根本没有索引过?我还注意到,重建之前索引中有不存在的文件.很奇怪,我认为索引会自动更新.

当桌面搜索未找到某些文件时,我们注意到了索引问题.此外,目录中的某些文件已正确索引(并找到),但同一目录中的其他文件却未正确索引.

Windows Server 2003上也出现了相同的问题.但是文件数量的差异甚至更大
在重新索引之前我没有更改任何索引设置.
计算机足够强大并且有很多空闲时间,因此WS有时间更新索引.

说不同的用户可以在索引文件夹中添加/重命名/删除文件可能很重要.

感谢您的解释,

Robin

We have Windows Search on Windows Server 2008. Some files were not found, so I decided to rebuild the index.
After rebuilding it, there were 55.000 files indexed. But before rebuilding, only 43.000 filed were included in the index. Why some files were not indexed previously at all? Also I noticed, there were non-existing files in the index before rebuilding. It is strange, I supposed the index is updated automatically.

We noticed the indexing problem when some files were not found by the desktop search. Moreover, some files in a directory were indexed (and found) correctly, but other files from the same directory not.

The same problem appeared on Windows Server 2003. But the difference in files count was even bigger.
I did not change any indexing setting before reindexing.
The computer is strong enough and has a lot of idle time, so the WS had time to update the index.

May be important to say that different users can add/rename/delete files in the indexed folder.

Thanks for any explanation,

Robin

推荐答案

Windows搜索使用NTFS日记来重新索引已更新的文件.完全是自动的.

稍微解释一下Windows Search的工作原理:安装的第三方应用程序会针对不同的文件类型(例如.docx,.pdf)注册iFilter.这些iFilter知道如何破解上述文件并从中发出文本. Windows搜索使用这些iFilter索引文件.但是,如果您没有安装知道如何打开文件的应用程序-或如果该应用程序未注册iFilter-Windows Search将不会为文件的基本属性(例如文件名)建立索引.

在您的情况下,可能会发生的事情是:您有一堆没有关联的iFilter的文件,Windows搜索将它们编入索引,然后安装了它们的关联应用程序(Office或pdf查看器等).因此,无论已经被索引的文件是什么,都保持最小索引"的状态.直到第一次修改它们.这就是为什么重新编制索引可以解决此问题.

Windows Search uses NTFS journaling to reindex files that have been updated. It's all automatic.

To explain a little how Windows Search works: third party applications that you install register iFilters for different file types (e.g. .docx, .pdf.) These iFilters know how to crack open the abovementioned files and emit text from them. Windows Search uses these iFilters to index files. If, however, you don't install the application that knows how to open the file - or if the application doesn't register an iFilter - then Windows Search won't index the file beyond basic properties such as file name.

In your case, what could be happening is: you had a bunch of files w/o associated iFilters, Windows Search indexed them, and then you installed their associated application (Office or pdf viewers, etc.) So whatever files were already indexed remain "minimally indexed" until the first time they're modified. That's why reindexing fixes the issue.


这篇关于为什么索引在重建后包含更多文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆