Remove URLs from search results (FAST Search Server 2010 for SharePoint)

 

Applies to: FAST Search Server 2010

To remove specific URLs from search result in FAST Search Server 2010 for SharePoint, you must find the Item ID of the URL, remove this Item ID from the FAST Search Server 2010 for SharePoint content collection and create a crawl rule in the SharePoint Server 2010 Central Administration to prevent the URL from being crawled again.

Find the unique Item ID of the URL

Follow this procedure on the SharePoint Server 2010 server.

  1. Verify that the user account that is performing this procedure is a service application administrator for your FAST Search Content Search Service Application.

  2. In Central Administration, in the Application Management section, click Manage service applications.

  3. On the Service Applications page, in the list of service applications, click the name of your FAST Search Content SSA.

  4. On the Search Administration page, under Crawling, click Crawl log.

  5. On the Search Service Application: Crawl Log – Content Source page, click URL.

  6. On the Search Service Application: Crawl Log – URL page, in the Search By section, select the radio button in front of URL or Host name and type the URL in the box, for example, https://www.contoso.com. Select Exact match and then click Search.

  7. Copy or note the Item ID that is displayed.

Remove the Item ID from the content collection

Follow this procedure on the FAST Search Server 2010 for SharePoint server.

  1. Verify that you meet the following minimum requirements: You are a member of the FASTSearchAdministrators local group on the computer where FAST Search Server 2010 for SharePoint is installed.

  2. On the Start menu, click All Programs.

  3. Click Microsoft FAST Search Server 2010 for SharePoint.

  4. Click the Microsoft FAST Search Server 2010 for SharePoint shell.

  5. At the Microsoft FAST Search Server 2010 for SharePoint shell command prompt, type the following command:

    docpush.exe –c <content collection> –l verbose –U –d ssic://<Item ID>

    Where:

    <content collection> is the content collection that the item is found in. The default content collection is sp.

    <Item ID> is the Item ID of the URL you want to remove from the content collection. See the procedure Find the unique Item ID of the URL for information how to obtain the Item ID.

Create a crawl rule

Follow this procedure on the SharePoint Server 2010 server.

  1. Verify that the user account that is performing this procedure is a service application administrator for your FAST Search Content Search Service Application.

  2. In Central Administration, in the Application Management section, click Manage service applications.

  3. On the Service Applications page, in the list of service applications, click the name of your FAST Search Content SSA.

  4. On the Search Administration page, under Crawling, click Crawl rules. The Manage Crawl Rules page appears.

  5. To create a new crawl rule, click New Crawl Rule.

  6. On the Add Crawl Rule page, in the Path section:

    • In the Path box, type the path of the URL to which the crawl rule will apply, for example https://www.contoso.com. You can use standard wildcard characters in the path.

    • Select the Use regular expression syntax for matching this rule check box to use regular expressions instead of wildcard characters.

    • Select the Match case check box if you want the capitalization in the provided path to exactly match the capitalization of the actual path.

  7. In the Crawl Configuration section the following option:

    • Exclude all items in this path. Select this option if you want to exclude all items in the specified path from crawls. If you select this option, you can refine the exclusion by selecting the following:

      • Exclude complex URLs (URLs that contain question marks - ?). Select this option if you want to exclude URLs that contain parameters that use the question mark (?) notation.
  8. Click OK.

See Also

Reference

docpush reference

Concepts

Manage crawl rules (FAST Search Server 2010 for SharePoint)