The search service application handles the core functionality of search in SharePoint. In this recipe, we will provision a new search service application.
You can create multiple search service applications for a farm. This can be useful to segment indexed content for different web applications. For instance, the search service application used by a public-facing web application may be configured to index the content of the public-facing sites only, whereas a separate search service application used by an internal-facing web application may be configured to index all of the content on the farm.
Follow these steps to provision a search service application:
Search Service Application
, in the Name field for the service application.The search service application handles all of the core functionality of the SharePoint search. This includes indexing content, accessing the search databases, processing search queries, and so on. When a user searches in a SharePoint site, the query is processed by the search service application that is associated with the SharePoint web application in which the site is contained.
Service applications in SharePoint use application pools in Internet Information Services (IIS) to run their web services. The search service application uses two application pools, one for the administrative components and the other for the query and site-level components.
Search service applications may also be provisioned with PowerShell.
Follow these steps to provision a search service application using PowerShell:
New-SPServiceApplicationPool
Cmdlet as follows:$appPool = New-SPServiceApplicationPool -Name "Search Service Application Pool" -Account domainsearchuser
New-SPEnterpriseSearchServiceApplication
Cmdlet and assign it to a variable as follows:$ssa = New-SPEnterpriseSearchServiceApplication -Name "Search Service Application" -ApplicationPool $appPool
New-SPEnterpriseSearchServiceApplicationProxy
Cmdlet as follows:New-SPEnterpriseSearchServiceApplicationProxy -Name "Search Service Application Proxy" -SearchApplication $ssa
3.144.28.70