使用PowerShell脚本从搜索索引或SharePoint Server 2016中的搜索结果中删除项目 [英] Delete items from the search index or from search results in SharePoint Server 2016 using PowerShell Script
问题描述
To remove a particular item from Search Index, we can go to SSA (Search Service Administration) in CA (Central Administration) and click on Crawl log and URL view, then Remove the item from Index is possible.
有什么方法可以使用PowerShell/代码执行相同的任务?
Is there any way , where we can use PowerShell/Code to perform the same task?
在这里也找不到类似 问题
Could not find the answer here in as well Similar Question
References: Technet Link
重置索引是不行的,而且我也不想通过结果Web部件中的查询规则将其排除.
Resetting the index is a no-go, also I don't want exclude them via query rules in the results web part.
我假设,如果可以在CA中逐个删除它们,那么有一种方法可以立即将数千个数据删除.
I assume that if I can delete them one by one in CA that there is a method to feed a couple of thousands at once to it to delete.
尊敬的约翰·扎卡里亚(John Zachariah)
Regards, John Zachariah
推荐答案
约翰,
我目前正在SharePoint 2016中进行测试,并将尽快进行更新.
I am currently doing test in my SharePoint 2016 and will give an update as soon as possible.
最好的问候,
Lisa Chen
Lisa Chen
这篇关于使用PowerShell脚本从搜索索引或SharePoint Server 2016中的搜索结果中删除项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!