DRAG DROP
A SharePoint environment includes an enterprise search application. You are configuring the search
application crawl schedule for a specific farm.
You plan to configure the crawl schedule at set intervals of 15 minutes on a continuous basis. The
relevant information for the farm is shown in the following graphic.
You need to ensure that search results are fresh and up-to-date for all SharePoint sites in the
environment.
Which Windows PowerShell cmdlets should you run? (To answer, drag the appropriate cmdlets to
the correct variable or variables in the answer area. Each cmdlet may be used once, more than once,
or not at all. You may need to drag the split bar between panes or scroll to view content.)
Answer: See the explanation
Note:
* Get-SPEnterpriseSearchServiceApplication
Returns the search service application for a farm.
——————EXAMPLE——————
$ssa = Get-SPEnterpriseSearchServiceApplication –Identity MySSA
This example obtains a reference to a search service application namedMySSA.
Example2:
—————–EXAMPLE——————
$searchapp = Get-SPEnterpriseSearchServiceApplication” SearchApp1″ $contentsource = GetSPEnterpriseSearchCrawlContentSource -SearchApplication $searchapp -Identity “Local SharePoint
Sites” $contentsource.StartFullCrawl()
This example retrieves the default content source for the search service application, SearchApp1,
and starts a full crawl on the content source.
I would take Set-SPEnterpriseSearchCrawlContentSource -EnableContinuousCrawls 1 for box 3, for the “You need to ensure that search results are fresh and up-to-date for all SharePoint sites in the environment” and “continuous basis” in the question.
Yes!