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

Hi Venkatesh,

I am trying to involve someone familiar with this topic to further look at this issue.


Free Windows Admin Tool Kit Click here and download it now
September 12th, 2013 11:00pm

Hi Venkatesh Sami,

perhaps you can try to change it to '0', but please be advised to do this only in development stage first.

or the other hand, sharepoint have the search report also regarding no keywords, perhaps you may try this part: 

September 13th, 2013 3:43am

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

Other recent topics Other recent topics