Showing posts with label Configuration. Show all posts
Showing posts with label Configuration. Show all posts

Tuesday, December 1, 2015

SharePoint SEARCH RESULT title max 30 characters “MaxCharactersInPropertyStoreIndex

Resolution Summary :-
 
è Increased the “MaxCharactersInPropertyStoreIndex”
 
 
PS C:\Users\spinstall> $ssa = Get-SPEnterpriseSearchServiceApplication
PS C:\Users\spinstall> $mp = Get-SPEnterpriseSearchMetadataManagedProperty -SearchApplication $ssa -Identity "PublishingPageContentOWSHTML"
PS C:\Users\spinstall> $mp.MaxCharactersInPropertyStoreForRetrieval
2097152
PS C:\Users\spinstall> $p = Get-SPEnterpriseSearchMetadataManagedProperty -Identity body -SearchApplication (Get-SPEnterpriseSearchServiceApplication)
PS C:\Users\spinstall> $p.MaxCharactersInPropertyStoreIndex
0
PS C:\Users\spinstall> $prop1 = Get-SPEnterpriseSearchMetadataManagedProperty -Identity body -SearchApplication (Get-SPEnterpriseSearchServiceApplication)
PS C:\Users\spinstall> $prop1
 
Name                 PID      ManagedType  EnabledForScoping  EqualityMatchOnly
----                 ---      -----------  -----------------  -----------------
body                 1        Text         False              False
 
 
PS C:\Users\spinstall> $prop1.MaxCharactersInPropertyStoreIndex
0
PS C:\Users\spinstall> $prop1.MaxCharactersInPropertyStoreIndex = "2048000"
PS C:\Users\spinstall> $prop1.Update()
PS C:\Users\spinstall> $prop1.MaxCharactersInPropertyStoreIndex
2048000
PS C:\Users\spinstall>
 
è In search schemaà managed propertyà titleà (Changed the priority of the crawled property TermTitle to position 0)
 
è Added a "EnableOptimisticTitleOverride" registry entry
Open Regedit on the SharePoint Server 2010 and go to  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\15.0\Search\Global\Gathering Manager
Set the value of EnableOptimisticTitleOverride to 0
 
è Started the Full Crawl
è Crawl completed and we were getting the full title of the documents in the search results.