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 ?

  • 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. – Christoffer Apr 24 '15 at 14:10
  • @user19952, No, i didn't get any results when creating the result resource – SaMolPP Apr 24 '15 at 14:12
  • Then there is something wrong with the query in the result source. Have you tried without the port? url – Christoffer Apr 24 '15 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. – SaMolPP Apr 24 '15 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 Apr 24 '15 at 14:49
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.

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.