使具有特定标签的文档无法搜索 [英] Making documents with specific tags unsearchable

查看:87
本文介绍了使具有特定标签的文档无法搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好, 


我需要帮助才能解决问题。我有一个包含300个不同文档的库。有时这些文件过期或被替换。我不想删除旧的,所以我给他们一个过时的标签,这意味着其他用户不能
看到这些文件。 


挑战是那个文档仍显示在搜索模块中。所以我的问题是,是否有可能使具有特定标签的单个文件无法搜索? 


最好的问候

解决方案

您好TL91,


根据您的要求,您可以按照以下步骤操作:


1。在名为"Obsolete"的库中创建"是/否"列,并提供有关此列的相关文档值。


2。在管理中心 - >管理服务应用程序 - >搜索服务应用程序 - >内容来源 - >运行完全抓取。


3。返回搜索服务应用程序 - >搜索架构 - >托管属性 - >查找和编辑"RefinableString00"或其他默认空托管属性 - >添加"已过时"列的映射 - >开始完全爬网。


4。返回搜索服务应用程序 - >结果来源 - >右键单击并复制"本地SharePoint结果" - >单击"启动查询生成器" - >在"属性过滤器"部分 - >选择"显示所有托管属性" - >选择"RefinableString00"和
"不等于""是" - >重命名并保存。然后右键单击并"设置为默认值"。


5。转到搜索框,检查是否可以搜索标记为过时的文档。


祝你好运,


Grace Wang


Hello everyone, 

I have a struggle that I need help with solving. I have a library with 300 different documents. Sometimes these documents expires or are replaced. I do not want to delete the old ones, so I give them an Obsolete tag, which means that the other users cannot see these documents. 

The challenge is that the documents still appears in the search module. So my question is if it is possible to make single documents with specific tags unsearchable? 

Best regards

解决方案

Hi TL91,

For your request, you can follow the steps:

1. Create a "Yes/No"column in the library named "Obsolete" and give the relevant document value about this column.

2. In Central Administration->Manage service application->search service application->Content Sources->run full crawl.

3. Return to search service application->search schema->managed property->find and edit "RefinableString00" or other default empty managed property->Add a mapping for "Obsolete" column->Start a full crawl.

4. Return to search service application->Result sources->right click and copy "local SharePoint results"->click "Launch Query Builder"->In the "property filter" section->select "Show all managed property"->select "RefinableString00" and "not equals" "Yes"->rename and save. Then right click and "set as default".

5. Go to search box to check if the documents which mark as Obsolete can be searched.

Best regards,

Grace Wang


这篇关于使具有特定标签的文档无法搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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