Set-SPEnterpriseSearchLinguisticComponentsStatus
Published: July 16, 2012
Applies to: SharePoint Server 2013 Enterprise | SharePoint Server 2013 Standard
Sets the operation status of the linguistic query and document processing components.
Set-SPEnterpriseSearchLinguisticComponentsStatus [[-Identity] <LinguisticComponentsStatusPipeBind>] -SearchApplication <SearchServiceApplicationPipeBind> [-AllEnabled <Nullable>] [-AssignmentCollection <SPAssignmentCollection>] [-EntityExtractionEnabled <Nullable>] [-QuerySpellingEnabled <Nullable>] [-StemmingEnabled <Nullable>] [-ThesaurusEnabled <Nullable>]
Parameters
| Parameter | Required | Type | Description | ||
|---|---|---|---|---|---|
| Identity | Optional | Microsoft.Office.Server.Search.Cmdlet.LinguisticComponentsStatusPipeBind | An object that represents the current status of the linguistic components. | ||
| SearchApplication | Required | Microsoft.Office.Server.Search.Cmdlet.SearchServiceApplicationPipeBind | Specifies the search service application that contains the linguistic processing components. | ||
| AllEnabled | System.Nullable | A Boolean value to enable or deactivate all linguistic functionalities. | |||
| AssignmentCollection | Optional | Microsoft.SharePoint.PowerShell.SPAssignmentCollection | Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.
| ||
| EntityExtractionEnabled | Optional | System.Nullable | A Boolean value to enable or deactivate the company extractor and all custom extractors during document processing. | ||
| QuerySpellingEnabled | Optional | System.Nullable | A Boolean value to enable or deactivate query spelling correction. | ||
| StemmingEnabled | Optional | System.Nullable | A Boolean value to enable or deactivate expansive stemming during query processing. | ||
| ThesaurusEnabled | Optional | System.Nullable | A Boolean value to enable or deactivate thesaurus lookup during query processing. |
Detailed Description
This cmdlet sets the operational status of the linguistic query and document processing components.
Input Types
Return Types
------------------EXAMPLE 1-----------------
$searchApp = Get-SPEnterpriseSearchServiceApplicationSet-SpEnterpriseSearchLinguisticComponentsStatus -SearchApplication $searchApp –StemmingEnabled $false
This example shows how to disable stemming during query processing by setting the parameter StemmingEnabled to false.
------------------EXAMPLE 2-----------------
$searchApp = Get-SPEnterpriseSearchServiceApplicationSet-SpEnterpriseSearchLinguisticComponentsStatus -SearchApplication $searchApp –AllEnabled $false
This example shows how to disable all linguistic query and document processing functionalities.
Change History
| Date | Description |
|---|---|
| July 16, 2012 | Initial publication |

Note: