1

I have configured Search Service Application and result sources and Query transform: {searchTerms} path:http://url:port, and managed properties in my SP 2013 web application.Created a search center sub site under my site collection. Given the full control for the crawling account.Went to the search results web part and selected the item from the result sources dropdown which is created at SSA level.I performed full crawl,and I checked the crawl logs and the documents was successfully crawled but still my search results are not showing up.

Any extra settings or configurations I need to do ?

7
  • Did you get any results when you tried that query while creating the result source? I think you don't need to use port. You could try to add it like Path:url* to see if you get any results. Commented Apr 24, 2015 at 14:10
  • @user19952, No, i didn't get any results when creating the result resource
    – samolpp2
    Commented Apr 24, 2015 at 14:12
  • Then there is something wrong with the query in the result source. Have you tried without the port? url Commented Apr 24, 2015 at 14:21
  • As per my requirement I need to limit the search results from a single site collection.I have 40+ site collections in my web application with different set of people having different access levels.So whoever searching for a document docA within a sitecollection1's document library should be displayed and the search results should not come from other site collections.
    – samolpp2
    Commented Apr 24, 2015 at 14:22
  • Did you added Start Addresses in Manage Content Sources? In Local SharePoint sites Content Source add http://<url> and sps3://<url>for people
    – Marko Tica
    Commented Apr 24, 2015 at 14:49

2 Answers 2

1

Edit your result source.

Try with this query {searchTerms?} (contentclass:sts_listitem) path:"http://srvr1:123/sites/mysitecoll1"

You need to put http:// or https:// in query and you should get some results in Search Result Preview window when click Test Query.

0

Not sure who needs to see this, but I sure did ... after days of pulling out my hair - turns out owning a site and being global admin doesn't give you permission to search for a site! https://docs.microsoft.com/en-us/sharepoint/troubleshoot/search/search-results-dont-appear-for-group-owners

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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