SharePoint 2010 Federated Search web part
Federated Search web part, Search Scope and Federated Location
- Create Search scope in Central Admin
- Central Admin > Application Management > Manage Service Applications > Search Service Application > Scopes
- New Scope
- Set result page and rules to filter the search result, e.g. "YourUserProperty = 1", where YourUserProperty is a property or simply "contentclass = urn:content-class:SPSPeople"
- Create "Search Scopes" in Central Admin
- Central Admin > Application Management > Manage Service Applications > Search Service Application > Manage Federated Locations
- New Location
- Set properties:
- More Results Link Template: add an URL and a "*" after each search term when pressing the More Results link, e.g. "yourresultpage.aspx?k={searchTerms}*"
- Query Template: add scope if preferred, e.g. {searchTerms} scope:YourScope
- Add "Federated Results" web part to the Site
- Set "Federated Location" to a location created in Central Admin
No comments:
Post a Comment