Solved

Excluding URLs from Sharepoint Foundation 2013 Search

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

730 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