是否可以使用搜索查询构建器获取txt文件? [英] Is it possible to fetch txt files using search query builder?
问题描述
Hello
我正在尝试使用以下查询从网站集中获取所有文档:
I am trying to fetch all documents from site collections using following query:
{SearchBoxQuery} path:" http:// webapplication / sites / sitename *" (FileExtension:doc或FileExtension:docx OR FileExtension:xls OR FileExtension:xlsx OR FileExtension:ppt OR FileExtension:pptx OR FileExtension:pdf
OR FileExtension:txt) (IsDocument:" True")
{SearchBoxQuery} path:"http://webapplication/sites/sitename*" (FileExtension:doc OR FileExtension:docx OR FileExtension:xls OR FileExtension:xlsx OR FileExtension:ppt OR FileExtension:pptx OR FileExtension:pdf OR FileExtension:txt) (IsDocument:"True")
但是我无法在文档库中获取txt文件,其余文档也很好。
But I am not able to fetch txt files in the document library, rest documents are coming fine.
干杯!
Prateek
Prateek Vijay Vashistha
Prateek Vijay Vashistha
推荐答案
嗨Prateek,
将这些txt文件添加到库中后,是否运行了完全爬网?请执行完整抓取,看看是否可以在完全抓取成功完成后获得txt结果。
如果仍然无法获得结果,请检查以下内容:
1。确保允许图书馆内容出现在搜索结果中。
<跨度> 2。确保您拥有这些txt文件的权限。
结果返回以供用户搜索,查询引擎针对存储在搜索结果中每个项目
的内容索引中的安全描述符执行用户身份的访问检查。然后,查询引擎会删除用户无权访问的搜索结果中的任何项目,以便用户永远不会看到这些结果。这意味着,用户不会在搜索结果中看到他没有权限的项目。
3。检查文件是否已签入。
4。如果您已启用内容审批,请确保文件已获批准。
5。检查爬网规则,看看是否有一些规则要排除这些文件结果。
5. Check the crawl rules, see if there are some rules to exclude these file results.
6。转到管理中心> <应用程序管理>管理服务应用程序>搜索服务应用程序>抓取日志,检查文件是否已成功抓取。
最好的问候,
琳达
这篇关于是否可以使用搜索查询构建器获取txt文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!