What is the best alternative to exclude results from a specific site collection

Hi,
We want to exclude results from a specific site collection (for example http://server/sites/demo").
A few ways are being considered:
1. Copy the Local SharePoint Results Result Source and edit it not to include results from that site collection and then set the new custom result source as default.
2. Edit the Search Results WP in the "Everything" tab to exclude those results (edit the query there)
3. Set a query rule on "Local SharePoint Results" to exclude the results from the Demo Site Collection
What is the best?
keren tsur

Hi Keren,
Modifying the Local result  xlt will give you the most granularity but it is also arguably more challenging because of the "editing code" portion
On your search page you could append a query string via the search webpart but that may not get granular enough.
In the past I have used search scopes to exclude items in search results. Depending on the specific requirement it may be a quick and easy way to accomplish your task. it really depends on how ganular you need to get with excluding items from results.
A search scope can be setup be going to:
1. Site Actions (of the site collection you want to apply this to)
2. Click on Site Settings
3. Under site Collection Administration ( you have to be a site collection admin or farm admin to be able to see this section)
4. click on "Search Scopes"
5. Click on New Scope
6. Name it, fill out any other options you want and click "ok"
7. Click on your newly created search scope.
8. click on "new rule"
9. Fill out the fields based on your requirements and then click "OK"
10. I believe you will want to wait for a search to index to run before this scope will return any results.
Please let me know if you have any other questions.
Good Luck!
Alex

Similar Messages

  • What are the best alternatives to Mail on a Mac?i

    After all the problem with Maverick and Apple Mail I want to change to a nother mail application.
    Apple Mail keep on jamming my iMac System (yes I installed the so called fix), using up to 2,5 GB of memory, lossing mails or give older mails as a blanc page.
    Mozilla Thunderbird, Outlook or other?
    What are the best alternatives?

    Never had problems whit Apple Mail. Till I updated to Maverick.
    First problam was Gmail after updating to Mavericks, Apple mail went to download all my old mail's over 6800. Just delleted my Gmail account form the list to stop it.
    Second issuu memory.
    First dit not now what was te problem till I found out that Apple Maill took over al my memory. Try differened tip and trick of the Apple Forums. This one works the best. Other users had the same problem after Mavericks.
    I restore my Accounts.plist form before the Maverick update.
    Looked whit TextWrangler but what am i lookong for? Do not know how is supposed to look.
    Size of Accounts.plist on 11/18 1.7MB
    Size of Accounts.plist on 23/18 3.0MB
    Hoping for the best ....

  • I cannot get iDVD, what is the best alternative app to enable me to burn my projects to DVD?

    I cannot get iDVD, what is the best alternative app to enable me to burn my iMovie projects to DVD? why do Apple think that no one needs to burn DVDs?

    Why is there no iDVD on my new Mac?
    Apple insists that the entire world has access to fast broadband (and are prepared to pay for the considerable bandwidth usage) and wants to distribute home movies to friends and relatives via download (iCloud, YouTube, Facebook, whatever) rather than mailing them a DVD. The fact that in reality not all users do, has so far had no effect on this policy. If you scream and shout loudly enough down the phone Apple may send you a free copy of iDVD. Stating that they would return their brand new Mac unless they received a copy of iDVD worked for some, but that is now said to have been withdrawn by Apple. Also, you can complain bitterly here, perhaps suggesting that Apple could have provided a choice between burning DVDs and distributing home movies by other means:
    http://www.apple.com/feedback/
    Whilst Macs with a Superdrive continue to be able to burn video DVDs, the software for so doing, iDVD, is no longer included in the iLife bundle that comes with OS 10.7 Lion (which also omitted iWeb) or will come with OS 10.8 Mountain Lion. And it is no longer included in the iLife 11 from the online Apple Store: http://www.apple.com/ilife/. Your only solution is to look on Amazon or eBay and try to get an older version that includes iDVD 7, i.e. iLife version 9 onwards. You should also do this if you plan to buy a new Mac anytime soon, as stocks of iLife that include iDVD will not be available for ever.
    However, the vastly more expensive FCPX can burn a DVD without iDVD or DVD Studio Pro involvement, but lack the themes etc of iDVD. Also, of course, there is Roxio Toast, which is the best software for burning anything but again does not offer the flexibility of iDVD.
    And if you think Microsoft are any better, their new Windows 8 operating system will not play DVDs, or burn them, unless customers buy an extra upgrade, the company has announced:  http://www.gizmag.com/windows-8-no-dvd-playback/22443/
    In other words, computer manufacturers have declared optical media as dead, long before consumers are ready to stop using them, which is fine as long as they offered us a choice, but they won’t even do that. Flexibility and intuitive use of a computer seems to be a thing of the past.

  • What is the best alternative except JMF to play mp3, rm or ogg media files

    Hi,
    what is the best alternative except JMF to play mp3, rm or ogg media files ?

    Yes, you are right.
    you can take a look at this:
    first: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6431855
    then:
    http://www.javazoom.net/javalayer/documents.html
    http://www.javaworld.com/javaworld/jw-11-2000/jw-1103-mp3.html#resources

  • Sometimes my computer takes too long to connect to new website. I am running a pretty powerful work program at same time, what is the best solution? Upgrading speed from cable network, is it a hard drive issue? do I need to "clean out" the computer?

    Many times my computer takes too long to connect to new website. I have wireless internet (time capsule) and I am running a pretty powerful real time financial work program at same time, what is the best solution? Upgrading speed from cable network? is it a hard drive issue? do I only need to "clean out" the computer? Or all of the above...not to computer saavy.  It is a Macbook Pro  osx 10.6.8 (late 2010).

    Almost certainly none of the above!  Try each of the following in this order:
    Select 'Reset Safari' from the Safari menu.
    Close down Safari;  move <home>/Library/Caches/com.apple.Safari/Cache.db to the trash; restart Safari.
    Change the DNS servers in your network settings to use the OpenDNS servers: 208.67.222.222 and 208.67.220.220
    Turn off DNS pre-fetching by entering the following command in Terminal and restarting Safari:
              defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false

  • What is the best way to import pictures from Lightroom 5 into FCP X

    What is the  best way to transfer pictures from Lightroom 5 into Final Cut Pro X?

    There is no one best way.  If, for instance, you want to be able to zoom into the picture with a Ken Burns effect then you may want to save out a very high res version that will be larger than your video resolution. Just use Lightroom to export a jpg file wherever you want it. You could export it into the Events folder and then choose not to copy it when you import it within FCPx. You could import the picture into iPhoto and then access it directly from within FCPx. Those are two simple, "regular" ways to get it into FCPx but if you are not going to Ken Burns the image by zooming into it and such you will want to crop it in Lightroom to the same size you will be using ie if you are making 720HD video then crop the image to that size and proportion before you export it from Lightroom.

  • What is the best way to import photos from aperture to my new Lightroom

    What is the best way to import photos from aperture to my new Lightroom ?

    See if this helps
    http://lightroomsolutions.com/articles/migrating-from-aperture-to-lightroom-where-do-i-beg in/

  • What's the best way to transfer everything from my 5-year-old iMac to my 1-year-old iMac?

    What's the best way to transfer everything from my 5-year-old iMac to my 1-year-old iMac?
    I'm doing role reversal with these two.  The newer imac is becoming our business computer, the older one will be our personal computer from now on until it gives out.  For the record, I have Carbonite on the business unit.  Should be a no-brainer, right?  (Which is precisely why I'm asking!)
    Thanks for whatever timely and accurate advise you may have.

    Thanks. I stumbled across migration assistant later that afternoon in a google search. Just finished using it today to do the deed. Appreciate your quick response!

  • What is the best way to transfer files from a Power PC G4 that has NO power?  Thanks.

    What is the best way to transfer files from a Power PC G4 that has NO power?   I have a newer iMac. Thanks.

    Remove the hard drive and get one of these USB hard drive adapters. http://tinyurl.com/a5l2htj Then plug the adapter into your iMac to see/retrieve the files.
     Cheers, Tom

  • What is the best way to transfer data from a PC to an iMac?

    What is the best way to transfer data from a PC to an iMac?

    If you know how to set up a computer-to-computer Ethernet network, then you can give that a try, but a hard drive will be faster than Ethernet unless you don't have a lot to transfer.
    Mac OS X 10.6 Help- Creating a computer-to-computer network

  • What's the best way to transfer footage from a Sony miniDVD camcorder?

    What's the best way to transfer footage from a Sony miniDVD camcorder?

    Do not use "mini" DVD's in any slot loading DVD drive.
    Buy a cheap "tray loading" external DVD drive and attach it to your Mac.

  • What are the best ways to share photos from iPhoto?

    What are the best ways to share photos from iPhoto?

    If you use Adobe Photoshop, or even Adobe Photoshop Elements, stay as far away from iPhoto as possible.
    iPhoto does not play nice with Adobe software or with software from any other third party developer.
    iPhoto will hide your image files in a library paradigm where you have no access to them other than through iPhoto.

  • What is the best Method to transport KMC from DEV to QA & PROD

    We are trying to figure out what is the best method to transport KMC from DEV to QA & PROD. Your help and feedback is greatly appreciated.
    David

    hi,
    Refer this thread.
    How to transport KM content and configration?
    Regards,
    Ganesh N

  • What is the best way to transfer iPhoto from MacBook Pro to iMac?

    What is the best way to transfer iPhoto from MacBook Pro to iMac?

    the only way is Connect the two Macs together (network, firewire target mode, etc) and drag the iPhoto library intact as a single entity from the old Mac to the pictures folder of the new Mac - launch iPhoto on the new mac and it will open the library and convert it as needed and you will be ready move forward.
    LN

  • What is the best way to transfer photos from old laptop to new laptop?

    What is the best way to transfer photos from old Macbook Pro to new Macbook Pro?

    If you only need to transfer photos, connect the two Macs to the same network. Enable file sharing on both, and copy the iPhoto folder from your old Mac to the new one. Put it in your Pictures folder. This assumes you have no photos on your new MacBook Pro you wish to keep. If you do then let me know.
    The first time you launch the new version of iPhoto with a Library created by an older version, it will most likely want to "upgrade your iPhoto Library". This is normal.

Maybe you are looking for

  • Tax code not flowing while ME59N in case of conversion of service PR to PO

    Hello, I am trying to create automatic PO using ME59N for Service PR. But system is showing an error Tax code is not found. In my case I cannot create Contract. I have to maintain Service conditions in ML33 from which the Service amount will flow. Ev

  • Wireless adapter causing blue screen

    Hello,About a month ago on my Lenovo Ideapad Z580, I was using the internet when it said I was no longer connected.  When I tried troubleshooting, it reset the wireless connection adapter and gave me a blue screen.  When it restarted and I tried trou

  • Leopard has ruined my ACL's !!

    This probably belongs on the Leopard forum because its more related to the client, but I've put it in here cos I thought there was more chance of getting a reply about ACL's from the server forum. I have always used ACL's on my "Master Images" folder

  • Rearranging application using iTunes is very slow

    I was trying to rearrange my applications on my iPhone using iTunes and everytime I dragged and dropped an application to a new spot iTunes got stuck and the pinwheel of death appeared.  I would say that after each drop iTunes became unresponsive for

  • Slow framerates and weird shaders in game

    Inside the game "Sauerbraten" which is a 3D shooter, I get very low framerates and some surfaces with shaders have strange glitches on them. I have Mac OS X Leopard 10.5.2, and I have the game and OS up to date. To make sure this wasn't just with the