22
Sep

Recently I had to create a fixed query page to bring back search results by department instead of searching by Document Library which wasn’t by Department.  I also set up a links web part for quick access to the fixed query results pages 

Step1

Run a full crawl

Step 2

Create a Metadata Property Mapping

Go to Shared Services Administration in Central Admin

Navigate to Search Settings – Metadata property mappings

Select New Managed Property

clip_image002

Enter the Property name

Select Include values from a single crawled property

Click on Add Mapping and select from the list an appropriate crawled property.

Select Allow this property to be used in scopes

Click OK to create the new mapped property.

Step3

Set scopes

In Search Settings select View Scopes

Select New Scope

Enter the title for the scope

Select Specify a different page for searching and enter the url

clip_image004

Click ok when complete

Find the new scope in the view scope list

Click Add Rules

clip_image006

In Scope Rule Type select Property Query

Under Property Query select the new metadata property created, then enter the value to be search

In Behaviour ensure Include – Any Item is selected

Select OK

Step 4

To create the results page

In the site Select Site Actions

In Site Actions Select Create

Under Web Pages Select Web Part Page

clip_image008

Enter the title, accept the default layout and select a document library to store the page (create a new document library for Fixed Query Results Pages)

Select create to create the new page

clip_image010

Add Paging and Search Core Results Web Part as shown above

Click Edit and Modify Shared Web Part for Search Core Results

Under the Results Query Options, select Query 2 for the Cross-Web Part Query ID

Under Fixed Keyword Query enter the managed property name and value eg DepartmentName:”Trauma and Orthopaedics”

Under Miscellaneous enter the scope : Trauma and Orthopaedics Dept

Click Apply and OK to save the changes

Step 5

To add to a links List

In Links List Click Add new link

Add the URL and a description for the link

Click OK

clip_image012

The links should now appear in the list

clip_image014

VN:F [1.9.2_1090]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.2_1090]
Rating: 0 (from 0 votes)
To create a fixed query results page, 10.0 out of 10 based on 1 rating

Comments are closed.

-->