Wednesday, August 6, 2008

Search results are blank

The search works perfect in the farm. But one user reported that they need a "better" search functionality than what is provided. I didnt think of it much earlier, but then I came to know that there is no search happening at all on the site. Well.. interesting.

I went and saw all the settings in the central admin, crawl settings, rules to make sure that the site is included to crawl. Site level settings also indicated that the site is visible to the crawler. But then I noticed the aspx page settings right below it. I changed it to always crawl, ran an incremental crawl and voila!

Sharepoint by default will not crawl content on aspx pages, if the permissions are broken down to granular level. This is to provide security to the content. So, if you need to enable search for such content, select this setting and it will crawl happily everafter!