Quantcast
Channel: SharePoint 2010 - Search forum
Viewing all articles
Browse latest Browse all 1578

Custom Site Collection Result Source Id is not filtering the result in SharePoint 2013 Rest API

$
0
0

Hi ,

I have created a Result Source at Site Collection level. In this result source I have provided few subsite url as path managed property. I am passing this  Result Source's Id in REST Search API. But Results are available outside of the subsites mentioned in result source. Looks like this result source is not filtering the result.

This is the REST API example that I am using.

http://spsite/_api/search/query?querytext='*'&refinementfilters='SPContentType:equals("News")'&selectproperties='PublishingImage,Title,LikesCount,created'&sourceid:"ResultSourceId"


Ashish Baranwal To know what you know and what you do not know, that is true knowledge



Viewing all articles
Browse latest Browse all 1578

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>