locked
How can I search only one list RRS feed

  • Question

  • How can I search only one list

    I have several sites, and I configured MOSS search and tried to crawl only one list in a special site, I want all search result come from this list bcs of the special data only come from this list, (we call it Master Site Collection List, MSCL, it's a metadata list)

    But now When I start full crawl, I found that not only MSCL been crawled, but also include other lists, but I configured the start address of content source point to this list: http://*.*/Lists/MasterSiteCollection, and set 'Crawl only the SharePoint Site of each start address'. also, I just add a new crawl rule include this path: http://*.*/lists/mastersitecollection/

    Any ideas, otherwise I can configure seach scope to restrict data only returned from this list?

    Tuesday, June 15, 2010 7:23 AM

Answers

  • Hi,

    You can indeed create a custom scope and filter it to return results from just the one list.

    You can do so by creating a new scope rule, selecting the rule type to be "web address" and the address to be a "folder". Fill in the url to the list in the textbox underneath the Folder radio button.
    Select the behaviour to be Include.

    In the properties of the search core results webpart you can fill in a the name of the scope to display results from just that one scope.

     


    Mirjam
    sharepointchick.com
    Tuesday, June 15, 2010 2:15 PM

All replies

  • Hi,

    You can indeed create a custom scope and filter it to return results from just the one list.

    You can do so by creating a new scope rule, selecting the rule type to be "web address" and the address to be a "folder". Fill in the url to the list in the textbox underneath the Folder radio button.
    Select the behaviour to be Include.

    In the properties of the search core results webpart you can fill in a the name of the scope to display results from just that one scope.

     


    Mirjam
    sharepointchick.com
    Tuesday, June 15, 2010 2:15 PM
  • Thank you for your reply, I have added a new search scope with this MSCL list folder address: http://*.*/lists/mastersitecollection/

    SELECT Locked, SiteUrl, SiteTemplate, DateCreated, Title, URL, Description from
    scope()
    where
    "scope" = 'MSCL'

    With the query like above, It not only returns the item in the list, but also include the item of list name(http://*.*/lists/MasterSiteCollection/AllItems.aspx), how can exclude this one?

     

     

     

    Thursday, June 17, 2010 2:25 AM