Migration Content DB 2010 to 2013 contextual Search issue

I found one most interesting issue while site collection migrated to 2010 to 2013.

We have migrate SharePoint content DB 2010 to 2013 and found that the contextual search retuning the whole data for each search term no refiner working no “hit highlighting” but the result returned by the search service somehow.

Every search term the service returned the same results. I have checked the same result in our search center as well in other site collection even checked contextual search all working fine as expected. So  only issue in the migrated site collection. I have mentioned the same issue on MSND Question.

To deep dive need to enable the VerboseEx log in the search farm and check what’s going behind the screen.I used the following command LETS (PowerShell) to enable the VerboseEx log.

  1. get-sploglevel | where {$_.Name -eq "Query"} | Set-SPLogLevel -TraceSeverity VerboseEx
  2. get-sploglevel | where {($_.Area -like "Search") -And ( ($_.Name -eq "Query Processing") -Or ($_.Name -eq "Search Component")) } | Set-SPLogLevel -TraceSeverity VerboseEx
  3. get-sploglevel | where {$_.Name -eq "Fuzzy Name Search"} | Set-SPLogLevel -TraceSeverity VerboseEx

Enable the above logging I am able to find the issue. It is related to the default result source provided by the SharePoint should selected as “Local SharePoint Results” but it was selected “Documents”




So I changed the default result source to "Local SharePoint Results"




Popular posts from this blog

SharePoint RPC Protocols Examples Using OWSSVR.DLL

SharePoint 2016 JavaScript framework

STS CryptographicException Error : Key set does not exist