Export (0) Print
Expand All

Clear-FASTSearchContentCollection

Published: May 12, 2010

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

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

Parameters

 

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

Detailed Description

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

note Note:

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.

Input Types

 

Return Types

 

---------------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.

Change History

 

Date Description Reason

May 12, 2010

Initial publication

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