Resolution: Search.asmx returns no result for custom query

Search.asmx returns no result (ERROR_NO_RESULTS_FOUND) for custom query.

 

Cause

Search permission settings were required to be properly configured.

 

Resolution

  • Initially we checked ifilters for PDF document. They were properly installed on the servers. Then we tried to search word document to confirm whether the issue happens with word document too. And we found that for all types of documents we were not able to get the result.
  • We tried to work with SP Query Tool and checked our custom query but that doesn’t return any result.
  • We verified the custom query. Everything was proper.
  • We did the full as well as incremental crawling and checked the search.asmx, SP Query Tool but didn’t get the result.
  • Finally we found that we were able to search the documents from the WSS site but not from the portal. After further investigation, we found the root cause that we needed to modify the permission settings for search.
  • From the crawl log we found that there were some addresses which were not found during crawling.
  • We removed the directory entry for "clientstatements" and created a new entry with proper user id.
  • To check the proper crawling we stopped the crawling, reset the timer and started the full crawling.
  • After the completion of the full crawling, Now we are able to get the result.

Path : Portal -> Site settings –> Search settings and Indexed content -> Manage crawls of the site directory -> Provide the proper links with proper permissions

 

Keywords

Search, SharePoint 2003, Search is not working, Search.asmx, no result, SPS 2003, Search keyword doesn't return any result.