...
Note |
---|
Note: Microsoft uses the word connection to refer to a connector and an index within Microsoft Search. |
...
Import SharePoint module in PowerShell:
Code Block | ||||
---|---|---|---|---|
| ||||
Install-Module -Name Microsoft.Online.SharePoint.PowerShell |
Set up SERP using this PowerShell script:
Code Block | ||||
---|---|---|---|---|
| ||||
$orgName = Read-Host -prompt 'Enter the name of your organization'
$userName = Read-Host -prompt 'Enter user name'
$userCreds = Get-Credential -UserName $userName -Message "Type the password"
Connect-SPOService -Url https://$orgName-admin.sharepoint.com -Credential $userCreds
$url = Read-Host -Prompt 'Please enter the site url'
$site = Get-SPOSite -Identity $url
Set-SPOSite $url -DenyAddAndCustomizePages 0
$pwd = Read-Host -AsSecureString 'type the password'
$context = New-Object Microsoft.SharePoint.Client.ClientContext($url)
$credential = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($userName, $pwd)
$context.Credentials = $credential
$web = $context.Web
$context.Load($web)
$web.AllProperties["AllVerticalContent"] = "Combined"
$web.Update()
$context.ExecuteQuery()
$web.AllProperties["FilesVerticalContent"] = " Combined"
$web.Update()
$context.ExecuteQuery()
Write-Host "Success" -ForegroundColor Cyan
Read-Host -Prompt 'Press enter to exit' |
Once this has been done, you should be able to search for ingested items.
...
The Microsoft Search publisher run on either Windows or LinuxThe publisher component can be used on any installation of Aspire as long as it has internet access to communicate with the Microsoft Search service.