Tuesday, December 29, 2015
Tuesday, December 15, 2015
Property sync is not dispayed
http://www.sharepoint2013.me/Blog/Post/88/Managed-property-added-to-search-display-template-is-not-appearing-in-sharepoint-2013
$ssa = Get-SPEnterpriseSearchServiceApplication $tenantOwner = Get-SPEnterpriseSearchOwner -Level SPWeb -SPWeb "https://dev.contoso.com/search/" Get-SPEnterpriseSearchResultItemType -Owner $tenantOwner -SearchApplication $ssa $ResultType = Get-SPEnterpriseSearchResultItemType -SearchApplication $ssa -Owner $tenantOwner | where-object { $_.Name -eq "ContosoResultType" } $ssa.UpdateResultItemType($ResultType)
New Managed Properties don't contain values
http://sharepoint.stackexchange.com/questions/122486/new-managed-properties-dont-contain-values
Add-PSSnapin -Name Microsoft.SharePoint.PowerShell –erroraction SilentlyContinue
Stop-Service SPTimerV4
$folders = Get-ChildItem C:\ProgramData\Microsoft\SharePoint\Config
foreach ($folder in $folders)
{
$items = Get-ChildItem $folder.FullName -Recurse
foreach ($item in $items)
{
if ($item.Name.ToLower() -eq "cache.ini")
{
$cachefolder = $folder.FullName
}
}
}
$cachefolderitems = Get-ChildItem $cachefolder -Recurse
foreach ($cachefolderitem in $cachefolderitems)
{
if ($cachefolderitem -like "*.xml")
{
$cachefolderitem.Delete()
}
}
$a = Get-Content $cachefolder\cache.ini
$a = 1
Set-Content $a -Path $cachefolder\cache.ini
read-host "Do this on all your SharePoint Servers - and THEN press ENTER"
start-Service SPTimerV4
Subscribe to:
Posts (Atom)