One question that often comes up when I’m teaching a FAST Search for SharePoint class is this one: How can I remove an item from the index immediately? Why would you want to do this? The item could be confidential and you cannot wait until the next crawl.  Microsoft SharePoint 2010 Search provides an easy way to do this. By following the method described below, you can do this in Microsoft FAST Search Server 2010 for SharePoint, as well.

In order to remove an item from the index, the first thing you need to do is determine its identifier. Follow the steps below for the full procedure on how to remove an item from the index:

1 - Execute a query that will return the result you want in the Search Center and locate its URL, as shown below.

2 - Next, go to the Crawl Logs in the FAST Content SSA and search for the crawl log of the URL identified in the previous step. The information you are looking for is its Item ID.

Note: Another way to obtain the Item ID is to follow the instructions in the tutorial on How to View Search Results XML Data and add <Column Name="contentid"/> <Column Name="contentids"/> to the list of Fetched Properties.

3 - Now that you have the Item ID, all you need to do is execute the proper command to remove the item from the index. The command you will use is docpush, with specific parameters for content removal:

docpush -c sp -U -d ssic://<Item ID>

For my example above, this is the full command executed, along with its callback stating that the delete operation was successful:

At this point your item should be removed from the index. Return to the Search Center and execute another query to confirm that your item no longer appears in the search results, as shown below:

To learn other useful procedures, navigate to and register for the 5-day Microsoft Enterprise Search for Developers class or use the Microsoft Learning Course Locator to find a class in your area. For more information, contact a Microsoft Learning FAST University Education Consultant at See you in class!

By Leonardo Souza, MCT