Solved

Excluding URLs from Sharepoint Foundation 2013 Search

Posted on 2013-06-14
1
1,664 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
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now