1

I Have created new result source enter image description here

Please see the below image inside New source

enter image description here

Here you can see it will display result from current site collection only.

In above image http://pc9:9001 is web application and it has site collection like http://pc9:9001/sites/demo

When I go to search enter any keyword then it will display result from another web application also. enter image description here

In above image http://pc9 is different web application. over here the the search result I have created to display result from current web application is not working.

2

You try to select "New Source" in Search results webpart properites. see the picture below to change the query. even you keep that as default source. please do this.

enter image description here

You just select the "New Source" in highlighted section in Image

enter image description here

1
  • actually I have do this task without make any changes in search result web part – Akshay Dattatray Nangare Feb 16 '17 at 10:40
1

I'm using Path:{SiteCollection.URL} for this...

enter image description here

1

In the Search Center you may need to edit the Search Results web part and "remind it" to use the default result source. I have seen most time just opening the page in edit mode and edit the web part, confirm the result source and click OK and Save and Check in.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.