Friday, February 7, 2014

SharePoint 2013 inline search and AAM

Ran into an interesting issue with inline search not working for a client and learned a couple things about it...


Inline search for any list or library produced no results. No errors appeared in logs, just no results.



I went to logs and found everything working perfectly:

Microsoft.Office.Server.Search.Query.Ims.ImsQueryInternal :
Number of tables in Result: 1, Relevant Results: 0, Refinement Results: 0

No Results?? But there is content there... and the regular search works fine and returns these results! ..now what??

After much head scratching, I looked at the Alternate Access Method.

They had recently added an AAM. The site's AAM had these two entries:

Default Zone mapped to http://sp2013 (which is the machine name)

Intranet Zone mapped to http://atlas
I edited the Default Zone, changing it from sp2013 to atlas and the AAM for Intranet went away and all that was left was Default.

Immediately,  the inline search started working again.


Another thing that I learned is that the Inline Search box will only show up if the Web Part Style is Default. So if you change the web part style to Banded or Preview or Newsfeed something other than Default, you wont have the inline search at all.

No comments:

Post a Comment