Export (0) Print
Expand All

Clear-FASTSearchContentCollection

FAST Search Server 2010
 

Applies to: SharePoint Server 2010

Topic Last Modified: 2010-10-18

Clears the content of a Microsoft FAST Search Server 2010 for SharePoint content collection.

Clear-FASTSearchContentCollection [-Name] <String> [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-WhatIf [<SwitchParameter>]]

This cmdlet deletes from the index all items that are associated with the specified collection without removing the collection.

noteNote
If you are crawling using the integrated indexing connectors (Content SSA), you should only run this command as part of the procedure as specified in http://technet.microsoft.com/en-us/library/ff191228.aspx.

 

Parameter Required Type Description

Name

Required

System.String

The name of the content collection to clear.

Confirm

Optional

System.Management.Automation.SwitchParameter

Activates user prompting to confirm the operation. If set, prompting is activated.

If Confirm is false (-Confirm:$false), you will not be prompted.

In cases where Confirm is not specified, the cmdlet will prompt if the $ConfirmPreference shell variable is equal to or greater than the ConfirmImpact setting of the cmdlet (HIGH).

Force

Optional

System.Management.Automation.SwitchParameter

Overrides any user prompting settings so the user is not asked to confirm the operation.

WhatIf

Optional

System.Management.Automation.SwitchParameter

Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: get-help about_commonparameters

---------------EXAMPLE 1-----------------

Clear-FASTSearchContentCollection -Name newscollection

This example clears the content of the “newscollection” content collection.

---------------EXAMPLE 2-----------------

Clear-FASTSearchContentCollection -Name newscollection -Force

This example clears the content of the “newscollection” content collection. The user does not have to confirm the operation.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft