SharePoint search not working – sometimes, while we troubleshoot the SharePoint on-premise search issue we might see that the full crawler for a given content source is being run successfully, however, if we wait for hours we will not find any items being crawled or the content source crawler log will not show any error.
Root cause and how to fix this issue – SharePoint search not working?
Here I am keeping my analysis short, lets’s open the content source for the given web application in edit mode, and note down the web application in the notepad.
Now, open the IIS from the WFE (Web Front End) server, and navigate to the web application that you have noted down. There you will see that the URL Rewrite rule is applied for that application, which will redirect the URL to some other URL once the user accesses the main web application URL.
In order to fix this issue, disable the URL rewrite rule in IIS for time being (before starting the full crawl) for the said web application and once the full crawler gets completed, enable the URL rewrite back for the web application in IIS. This is how this issue will be fixed.
Summary: SharePoint search not working
Thus, in this article, we have learned how to fix the issue when the full crawler does not crawl any items in SharePoint 2016, even though it runs successfully and how to deal with the URL Rewrite in IIS.
See Also: SharePoint search not working
You may also like the below SharePoint troubleshooting articles:
- [Fixed]: Incremental and Full crawl is not running automatically in SharePoint 2016
- [Fixed]: The base type ‘.Search.UI.SearchResultsLayoutPage’ is not allowed for this page
- [Fixed]: Missing Site Assets Library in SharePoint Online
- How to fix Open with Explorer issues in SharePoint Online?
- [Fixed]: How to fix No gulpfile found in SPFx framework project
- [Fixed] Error – activate the SharePoint Server Publishing Infrastructure feature in SharePoint Online site
- [Fixed] Server relative urls must start with SPWeb.ServerRelativeUrl”in reading web part properties!
- [Fixed]: The page could not be created. Custom Scripting might be deactivated on the destination site or you might not have sufficient permissions.
- [Fixed] The upgraded database schema doesn’t match the TargetSchema(Failed to upgrade SharePoint Products)
- [Fixed] “Sorry, something went wrong. There was an exception in the Database” (SharePoint Server Error)
- [Fixed] How to fix the “Unexpected response from server. The status code of response is ‘500’ in SharePoint 2016 Search error.”?
- [Fixed] How to fix the wrong tenant credential error in SharePoint online?
- [Fixed] How to fix request timed out error in SharePoint 2016 search (There was no endpoint listening)?
- [Fixed] How to Fix a SharePoint 404 Error in sub site After Restoring a Content Database?