in

SharePoint University

Clean slate. Nothing but SharePoint.
Go, SharePoint!

How do I change the default search scope?

Last post 11-13-2007 1:54 PM by calvin998. 13 replies.
Page 1 of 1 (14 items)
Sort Posts: Previous Next
  • 08-29-2007 9:52 AM

    How do I change the default search scope?

    The default search scope in MOSS2007 is "All Sites."  How do i change the default to be the "This Site" on the main page? 

    Thanks!

     

  • 08-30-2007 10:46 PM In reply to

    Re: How do I change the default search scope?

    Hi David,

    Had this problem myself for a bit :) They don't make it very obvious however this is how you change the default search scope in SharePoint 2007..,

    Site Settings > Modify All Site Settings

    Site Collection Administrations > Search Scopes

    In the heading that says 'Display group: Search Dropdown (x)'

    The Name of the Display Group 'Search Dropdown' is actually a link to navigate to the properties page for this group

     From here you will be able to modify the Scope Display Group's title and description, rearrange the order of the search scopes, decide which scopes you want to include and finally change which scope you would like to use as your default search scope ;)

     Enjoy your new found power over search :P

    sherylin

     ~<"=]===[------

     

    Filed under: ,
  • 08-31-2007 12:01 PM In reply to

    Re: How do I change the default search scope?

    SUH-WEET!  Yes, thank you very much!  As a note to other folks with this issue, you may need to create a new scope and define it (create a rule) as only the path you wish to search.  Then, after that, take the steps shown above (and be sure to change the order of drop-down appearance) and you are good to go! :-)

    Thanks again!!

    Filed under: , ,
  • 09-05-2007 8:07 PM In reply to

    Re: How do I change the default search scope?

    I'm using the Advances search web part and what it to default to the custom scope that I created without having to display the scope check boxes in the web part.  I have the custom scope set as the default and is the only scope that I have available,  but it still searchs the All Sources by default.  Is there something else I need to do to get the web part default scope set?

  • 09-11-2007 3:51 PM In reply to

    Re: How do I change the default search scope?

    Now, that's a good question.  i even modified the NAME of the advanced search box in there, and it doesn't show up ANYWHERE.  It's almost like the "advanced search scope" is not actually turned on at the site level (or not turned on correctly)...  I'll see what else I can find out...

  • 11-02-2007 12:08 PM In reply to

    Re: How do I change the default search scope?

    Even I have the same problem even after selecting the custom scope it searches the default or All Sites Scope.

    I have an other major problem.I need to use advanced search webparts in different sites. I meaning one advanced search and core result webpart per site.becuse the uesrs for each sites are entirly different. And for each site there will be a search scope.Now I want the site scope as the as the default scope for the search webpart in that site.

    How do I do this.I can have only one default scope at the site collection level for the search webpart.what shall i do?

  • 11-05-2007 8:35 AM In reply to

    Re: How do I change the default search scope?

    Hi David,

    Could you find out if it is bug.

  • 11-05-2007 10:34 AM In reply to

    Re: How do I change the default search scope?

    Well, if it is not a bug, it is one serious design flaw...  Here is what I finally came up with (and it sucks):

     Create a new "Search Results Page" in your SearchCenter. (My example: SearchforClasses.aspx)

    When you create the page, modify the "Search Core Results" web part.  Under the "Miscellaneous" section, you have to specify the scope you want to use.  of course, there is no way to BROWSE to it, so you have to remember what you called it.  Click OK.

    On the "Results" page, add a new TAB and call it something (My example: "Search for Classes"), then type the results page name you just created before this step (Ex: SearchforClasses.aspx).

    Publish the page (don't use "check-in for draft" because that seems to send the page into electronic la-la land).

    Now, here is the really stupid part.  The users have to do an "All sites" search and get the results.  THEN, the can click on the newly added tab and see the results they REALLY want.  If they START at the new tab, the dumb thing jumps back to the "All Sites" search.  Now, there may be a way to fix that behavior, but I haven't had time to mess with it since putting in this "very temporary" workaround (I dare not call this a "solution!").

     

     

  • 11-05-2007 10:42 AM In reply to

    Re: How do I change the default search scope?

    HOLD THE PHONE!

    Okay, I did some more poking around and found a way to at least give people a CHOICE!  Go to your Advanced Search page, then EDIT the page.  Modify the web part for "Advanced Search" (the only part you can edit anyway).

    Under "Scopes," choose "Show Scope Picker" and tah-dah!  Now they can pick which scope to use!

    You can also do the same thing on the "regular" search page... Just tell it to show the scopes drop-down...

  • 11-06-2007 3:14 AM In reply to

    Re: How do I change the default search scope?

    Hi David, Thanks for your Reply. I tried the second option that is choosing the "Show Scope Picker" in the advanced search.But There is going to be only one scope in the advanced search webpart.It would not be good to show only one scope and ask the user to check the scope to get the results.

    I wanted the default scope to work.

    were you able to get the default scope work.Let me know.I would raise a support case with microsoft after hearing from you.

    If am able to get the default scope work, then i can make different dispaly groups and  make one scope default in each display group and use the display group in different advanced searches that I will be creating in different subsites.

     

    Filed under:
  • 11-07-2007 2:33 PM In reply to

    Re: How do I change the default search scope?

    What I found is that if scope drop down list is not showed, it seems always search on a hard-coded "All Sites" scope. (Yes I tried to delete that scope in SSP and then I got error message saying 'Scope does not exist'). Even worse, search web service (search.asmx) can not even specify scopes - this is the problem I'm facing. My project requires me to do a search through web service but only limit to certain scope instead of everything.

    Does anyone know a way to limit the search scope of a site to a single scope (shared scope from SSP), without showing the scope drop down or in web service?  I think this is a very reasonable requirement, since a SSP will be shared by many sites and you don't want people to search on other site's content....


     

  • 11-12-2007 8:35 AM In reply to

    Re: How do I change the default search scope?

    If you do not want only one scope in the search drop down out of the box, go to site settings,site collection administration,click on search scopes and try to create  different scopes at the site level and not at the SSP level and include the scope in Search drop down display group.Let me know if you are able to limit the scope.

    Filed under: ,
  • 11-13-2007 3:10 AM In reply to

    Re: How do I change the default search scope?

    RameshSubburaj:

    If you do not want only one scope in the search drop down out of the box, go to site settings,site collection administration,click on search scopes and try to create  different scopes at the site level and not at the SSP level and include the scope in Search drop down display group.Let me know if you are able to limit the scope.

    If you want only one scope.....

    Filed under: ,
  • 11-13-2007 1:54 PM In reply to

    Re: How do I change the default search scope?

    Thanks for the tip and I will try it out.

     BTW I found how to limit scope on web service (serach.asmx) now. Syntax:

    SELECT URL, Title, Description FROM SCOPE() WHERE “scope”=’my scope’ AND FREETEXT(’gallery hinges’) AND SITE = “http://supportdesk” AND NOT CONTAINS(’brass’)

    More info here: http://msdn2.microsoft.com/en-us/library/bb608305.aspx

Page 1 of 1 (14 items)

Need SharePoint Training? Attend a SharePoint Bootcamp!
Forum content (c) original posters. Everything else (c) 2008 SharePoint Experts, Inc.