wordpress windows 2008

Areas of search and contextual search fields

Search Areas:

You can trace all the elements in a given URL and choose to specify search scopes for users is that, when the search is only in the areas you defined.

For example: You have a site and sub-sites http://server of this site, and http://server/subsite1 http://server/subsite2. That dragged http://server including all sub-sites but in the search fields you can create a special area and another area http://server/subsite1 the http://server/subsite2.

You can create server-level domains (which apply to all web applications). You can also identify areas a collection of sites.

To create a new field - open the page of the scope of the Configuration page or search page search of areas of the site configuration in the root site of a site collection. You can set a range name, add the field to display groups (you can connect a group presentation to the search box and give your users the option to search only in areas specified) and then set the target results page.

After creating a scope is necessary to add a relevant standard in this area.

As crawl rules, here you can include or exclude items or sites, but you have an extra option: "Required". This option directs the field Search to require the consultation of all the rules item in the scope. So if you add all the contents within reach, but the "Document" type of content required documents will only search results.

You can create a rule that checks for a specific property. To add additional properties for this option is necessary to open the metadata property mappings and find your property.

After just changed "Allow this property to be used in the areas of" box "Yes".

If you do not find the property that searches the list of what needs to be added to the list.

You can define the columns in one place become a managed property. To do this, go to "Crawled Properties" and find your property (column) in the list (if it is a site column will be in the SharePoint folder).

Enter the property and verify that the "Include in index" checkbox is checked. If not, check this option and run incremental crawl to view this property in its scope. Then go again to the "Metadata property mappings" page and create a new managed property.

Add Mapping the crawled property that you created earlier and allow this property to be used in scopes. Now you can use this property in all areas of search.

Contextual search scope

At some point will a field called "The Site" or "the list". These names mean that in the search scope is a contextual search scope added for SharePoint.

This is a useful option when you want to allow users to search only the area they are working at the time of your search (Why waste precious time crawling other sites if you know what you are looking for a place with your current location?).

To remove an existing context field may find this post:

If you like and use this function, and customized your page results that can arise some problems. You can not really tell the search scope context to send a query to a custom results page. Scope contextual search always uses a default page of results - _layouts / osssearchresults.aspx.

You can personalize this page, but if you have more than one SharePoint Portal what to do is redirect the user to the case, the custom search results page. When the user enters a query Search and press "Go" to the search page redirects the query to the search results page with URL parameters. In the address bar the results page you can view settings as the "k" (search) and "u" (URL). You need to redirect users of the page osssearchresults.asx to custom results page using the same parameters. The "u" parameter can be an indicator, pointing to the page from that the search query origin.

Below is the code that will help to redirect:

function getParam (name)

{

name ". Replace (/ [ ]]/," ] = name.replace (/ [ []/," [)");

regexS var = "[ ?&]"+ name +"=([^&#]*)";

var regex = new RegExp (regexS);

var results = regex.exec (window.location.href);

if (result == null) return "";

else return results [1];

}

RedirectTo function ()

{

urlTmp = getParam ("u");

if (urlTmp.indexOf ("site1url")> 0)

{

}

}

RedirectTo ();

Just replace the "site1url" and "customresultspageurl" with their values ​​and put this code in the osssearchresults.asx.

Coming next week:

Part 3 of 3 part series on customizing SharePoint Search "Search Results" where we to discuss the customization of results page.

About the Author

The KWizCom team utilizes their experience and knowledge to give fresh insight on Microsoft's SharePoint and CRM Products and Technologies...
Sveta Yerpilev is a SharePoint consultant and trainer for KWizCom Corporation. She is also a contributor on the KWizCom blog.

Part 4: Configure 2 node windows 2008 R2 failover cluster


Windows Server 2008 - license


Windows Server 2008 - license


$176.99


Microsoft Windows Server 2008 - License - 5 device CALs - English

Wordpress


Wordpress


$8.57


No Synopsis Available

Microsoft Windows Server 2008 - license


Microsoft Windows Server 2008 - license


$165.99


Microsoft Windows Server 2008 - License - 5 device CALs - OEM - ROK - BIOS-locked (IBM) - Multilingual - for BladeCenter HS22 7870

Windows Server 2008 R2 Enterprise - complete package


Windows Server 2008 R2 Enterprise - complete package


$4009.99


Microsoft Windows Server 2008 R2 Enterprise - Complete package - 1 server 25 CALs - DVD - 64-bit - English

Windows Server 2008 R2 Standard - complete package


Windows Server 2008 R2 Standard - complete package


$627.99


Microsoft Windows Server 2008 R2 Standard - Complete package - 1 server 10 CALs - EDU - DVD - 64-bit - English


Turbocharge your FaceBook Marketing with FB AutoCash!

Tagged with:

Filed under: WordPress Marketing Strategies

Like this post? Subscribe to my RSS feed and get loads more!