Ressourcen für IT-Professionals > Forenhomepage > SharePoint - Search > Search Scoped not visible in the Search textbox
Stellen Sie eine FrageStellen Sie eine Frage
 

BeantwortetSearch Scoped not visible in the Search textbox

  • Donnerstag, 26. Juli 2007 21:44vipintanwar TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     

    Hi,

     

    I have a site - MOSS Project in which i am site collection admin.

    In that site , i have search textbo whixh contains ---  This Site: MOSS Project.

    I clicked on site actions -> site settigs -> search scopes ( under site collection administrators) . In the view scope page , i can see 2 scopes in search dropdown link : ALL SITES and People.

     

    I created one more serach scope that has the rule : FileExtension = doc.

     

    BUT , i am not abel to any of these search scopes on my Home page ( MOSS Project ) search box -  ALL SITES , People , Word Documents.

     

    Could you please share the information on this issue ?

     

     

Antworten

  • Freitag, 27. Juli 2007 21:13vipintanwar TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet

    Hi,

     

    The problem is solved , i put /sites/moss/_layouts/osssearchresults.aspx in the  Use custom  scope option , and now i am able to see all the options in the search box and and search  results are also coming. this is the same page where results are shown when we dont use any custom scope.

     

    I guess problem is just because of, i didnt mentioned the correct path os any page on which results needs to come.

     

    Actually , i need to achieve following search functionality:
    Suppose i wrote "Peter" in the search , then if we search using any of the options : This site option or ALL Sites :

    search result will contain:
    a) all the documents that contain the word "peter"
    b) all sites in which name vipin is there
    c) shared documents
    d) lists with different view
    etc etc etc etc.........so many things


    SO, its very confusing for the user.
    SO, somebody please explain me
    a) When we search , what all things appear in search results ? ( fo re.g documents , sites, lists , list with different views ,discussions , announments etc etc )
    b) How can we filter the results of a search ? for e.g after selecting thsi site option , if i can give user an option to just search documents or sites ot lists , etc etc.

     

    I need to find a solution to seggrate the search results by some categories i.e filtering on search.
    Please share your experiences to tackle this type of search.

     

     

    Regards,

    Vipin

Alle Antworten

  • Donnerstag, 26. Juli 2007 22:05vipintanwar TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     

     

    I just now found a thing , so would like to add to the above statements i have written:

     

    i Clicked on site actions -> site settings -> search settings ( under site collection admin)

    and then i selected the option use custom scopes and enterred /searchcenter/pages in it.

    After tjhat i clicked on homepage to see the options available in the search box , and i was able to see the 4 options in it: ALL sites, This site , people and word documents.

    But none of them is working.

     

    Why is this happening ? This site search is also not happening , which was happeinign earlier nicely.

  • Freitag, 27. Juli 2007 05:45Puneet Narula - MSFT TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     

    Are you getting an error? If yes what?

     

    For contextual scope if you switch back to not use custom scopes does it work?

     

    -Puneet

  • Freitag, 27. Juli 2007 21:13vipintanwar TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet

    Hi,

     

    The problem is solved , i put /sites/moss/_layouts/osssearchresults.aspx in the  Use custom  scope option , and now i am able to see all the options in the search box and and search  results are also coming. this is the same page where results are shown when we dont use any custom scope.

     

    I guess problem is just because of, i didnt mentioned the correct path os any page on which results needs to come.

     

    Actually , i need to achieve following search functionality:
    Suppose i wrote "Peter" in the search , then if we search using any of the options : This site option or ALL Sites :

    search result will contain:
    a) all the documents that contain the word "peter"
    b) all sites in which name vipin is there
    c) shared documents
    d) lists with different view
    etc etc etc etc.........so many things


    SO, its very confusing for the user.
    SO, somebody please explain me
    a) When we search , what all things appear in search results ? ( fo re.g documents , sites, lists , list with different views ,discussions , announments etc etc )
    b) How can we filter the results of a search ? for e.g after selecting thsi site option , if i can give user an option to just search documents or sites ot lists , etc etc.

     

    I need to find a solution to seggrate the search results by some categories i.e filtering on search.
    Please share your experiences to tackle this type of search.

     

     

    Regards,

    Vipin

  • Mittwoch, 10. Oktober 2007 16:06Bob Sieloff TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     

    Wow, setting up search can be a character builder.

     

    I have the standard search box on the main portal page and when I search I go to the OSSSEARCHRESULTS.ASPX page.  On search box in the results page I'm only offered "This Site: <name of site>" on the drop down list.  I would like to have the ability to search on people and and custom scopes as well. 

     

    I tried the steps listed in this thread but I must be missing something.  How do I assign scopes to the drop down list on the osssearchresults.aspx page?

     

    Thanks for your help,

    -Bob

     

  • Mittwoch, 10. Oktober 2007 17:51Bob Sieloff TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     

    This is what I have been able to do so far:

     

    I have been able to set the "home page" /default.aspx search box to now show all the scopes in the drop down list.  I accomlished this by going to:

     

    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES\OSearchEnhancedFeature\SearchArea.xml

     

    modifing the file to have these two lines:

     

    DropDownMode = ShowDD
    UseSiteDefaults = false

     

    This, however, did not fix the osssearchresults.aspx page search box.  I still only have "This site: <site name>" listed in the drop down box.

     

    I have gone to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\osssearchresults.aspx and tried to modify this section:

     

     

    <asp:Content ContentPlaceHolderID="PlaceHolderTitleBreadcrumb"  runat="server">
        <A name="mainContent"></A>
        <TABLE width="100%" cellpadding="2" cellspacing="0" border="0">
         <tr>
          <td height="25px"><IMG SRC="/_layouts/images/blank.gif" width=1 height=1 alt=""></td>
         </tr>
         <tr>
          <td>
            <SPSWCTongue TiedearchBoxEx id="SearchBox" runat="server"
           GoImageUrl="/_layouts/images/gosearch.gif"
           GoImageUrlRTL="/_layouts/images/gosearch.gif"
              DropdownModeEx=ShowDD_DefaultURL
              ScopeDisplayGroupName = ""
              FrameType="None"
              ShouldTakeFocusIfEmpty=true />
          </td>
         </tr>
         <tr>
          <td height="10" colspan="8"><IMG SRC="/_layouts/images/blank.gif" width=1 height=1 alt=""></td>
         </tr>
        </TABLE>

     

    But... Everytime I modify anthing in this file, so an IIS reset, and go to the page, the page is broken and I have to restore the file to get it to work again.  I'm not sure if this has something to do with Sharepoint Designer, so I will try in "notepad", but I'm not to confident.

     

    anyone have ideas?

     

    Thanks again,

    -B

     

     

  • Mittwoch, 10. Oktober 2007 17:57Bob Sieloff TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     

    No freak'n way... Got it!

     

    I used notepad to make the modification in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\osssearchresults.aspx

     

    My change was this: ( In Red)

     

    <asp:Content ContentPlaceHolderID="PlaceHolderTitleBreadcrumb"  runat="server">
        <A name="mainContent"></A>
        <TABLE width="100%" cellpadding="2" cellspacing="0" border="0">
         <tr>
          <td height="25px"><IMG SRC="/_layouts/images/blank.gif" width=1 height=1 alt=""></td>
         </tr>
         <tr>
          <td>
            <SPSWCearchBoxEx id="SearchBox" runat="server"
           GoImageUrl="/_layouts/images/gosearch.gif"
           GoImageUrlRTL="/_layouts/images/gosearch.gif"
              DropdownModeEx=ShowDD_DefaultURL
              ScopeDisplayGroupName = "Search DropDown"
              FrameType="None"
              ShouldTakeFocusIfEmpty=true />
          </td>
         </tr>
         <tr>
          <td height="10" colspan="8"><IMG SRC="/_layouts/images/blank.gif" width=1 height=1 alt=""></td>
         </tr>
        </TABLE>

     

     

    That was easy.. NOT

     

    -B

  • Freitag, 19. Oktober 2007 17:30Chris Santini TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     

    This is exactly what I've been trying to do and I had the first, but not the second part of modifying the OSSSearchResults.apsx page.

     

    In my configuration I had one more line added to C:\Program Files\Common Files\Microsoft Shared\Web Server

    Extensions\12\TEMPLATE\FEATURES\OSearchEnhancedFeature\SearchArea.xml

     

    ScopeDisplayGroupName=AllScopes

     

    This was a display group I created.

     

    After I added the following to C:\Program Files\Common Files\Microsoft Shared\Web Server

    Extensions\12\TEMPLATE\LAYOUTS\osssearchresults.aspx

     

    ScopeDisplayGroupName = "AllScopes"

     

    Everything worked. Thanks again for your post...

     

    One more question, has anyone tried the same thing with Advanced Search?

     

     

    CS

  • Dienstag, 23. Oktober 2007 15:39Andries den Haan TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     

    I have a specific problem when changing the searcharea.xml

     

    In my configuration I use an English rootwebsite and a mix of English and Dutch subsites. The changes in the searcharea.xml (enabling scopes from the SSP) are visible in the English sites, but not the Dutch ones.

     

    Any ideas on this?

     

    Regards,

     

    Andries