[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Excluding URLs from Sharepoint Foundation 2013 Search

Posted on 2013-06-14
1
Medium Priority
?
1,895 Views
Last Modified: 2013-06-17
I am running SharePoint Foundation 2013.  I am having an issue excluding URLs from my search results.

We have setup the search query to only search a particular subsite which is a List that has several thousand individual items.  We also have Views created on that list.  The problem we are having is the views come back listed in the search results.  I want just the list items to return and do not want the view URLs.  

This is what I am using for my default content source query.
{searchTerms} path:http://sharepoint/productenhancementlist

I have tried creating crawl rules to exclude the specific view urls and reset the index and did a full crawl and then I got back no results for our List.  

If I remove the crawl rules and then remove the urls from the search results with the built in functionality they come back the next time an incremental crawl runs which we have set to run ever 2 hours.

So my question is, how can I have these urls permanently removed from search results?

Example:
Search results only brings back results from http://sharepoint/productenhancementlist/ this includes http://sharepoint/productenhancementlist/view1.aspx view2.aspx etc... as well as the results we want http://sharepoint/productenhancementlist/DispForm.aspx?ID=1234
0
Comment
Question by:jlburgin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
jlburgin earned 0 total points
ID: 39253047
Was provided this on another site and it resolved me issue for the search query

path:"http://URL" (IsDocument:"True" OR contentclass:"STS_ListItem")
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question