Solved

Excluding URLs from Sharepoint Foundation 2013 Search

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SharePoint 2013 Document Library Newsletter View Count 3 57
SharePoint Search option? 3 36
Icons on a page, side-by-side 6 35
Sharepoint document already opened 2 31
If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

809 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