How to get No results by Query report in SharePoint 2013 programmatically

Hi Everyone,

I need to get the keyowrds which get 0 results from search. In OOB we are having a option in Portal Usage reports to get these keywords by Month/Day, but we need to get the data from object model.

In SP 2013 we are having only one function(GetSearchReport) from Search service to get the reports related to Search. We were able to get the top searches but unable to get the keywords with no results report data.

In GetSearchReport method there is a parameter(ReportType). In many examples over the web they have mentioned to use "1" to get top searches report. Do we have any other value for report type parameter to get the information of keywords with no results or do we have any other option to get this report data?

Thanks in advance

September 9th, 2013 9:58pm

Set the ReportType parameter as "3".

Able to get the No search results data using the above parameter

  • Marked as answer by Venkatesh Sami Tuesday, November 12, 2013 1:52 PM
Free Windows Admin Tool Kit Click here and download it now
November 12th, 2013 4:04pm

Change the value for ReportType parameter  to '3' then u will get "No Results"
  • Edited by SP_Pavan Friday, December 27, 2013 10:35 AM
December 27th, 2013 1:34pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics