Skip to main content

Posts

Showing posts with the label Search

How to configure promoted results in SharePoint 2013/Office 365

Best bets in Sharepoint 2010 are changed to promoted results in SharePoint 2013. The links added in promoted results are shown above the ranked results. For example, if the 'Office Policies' doc has to be displayed on top, whenever the user types in 'Office', the link to the doc is provided in promoted results. The user would be able to see the doc link on top of the ranked results. The below steps show how to configure promoted results at a site collection level Go to Site settings - Site Collection Administration - Search Query Rules In the Manage Query Rules window, select Local SharePoint Result from the drop-down of context. Then click on the New Query rule and provide the following information. Rule Name Query Matches Keyword: The keyword for which the promoted link is to be added is given. More than one keyword can be given. For e.g. office; policies. Click on Add Promoted results and add the following information in the modal window and save Title: T...

Federated Search usage reports

Federated search is a feature in Shareoint 2010, where results from external sites, other sharepoint farms, Local sites in same farm can be queried and results be displayed. On how to configure federated search, refer http://blogs.msdn.com/b/sharepoint__cloud/archive/2012/03/12/configure-federated-search-to-get-results-from-remote-another-sharepoint-2010-farm.aspx Consider a federated search webpart in farm B, where the search results are from Farm A. To know the usage of the federated search, will have to check the reports in source farm (Farm A). Go to central admin - Application Management - Manage Service Application - Click on the search service application On the left pane, Under Reports, click on Web Analytics report The usage report would show the total usage report of the search service application Say the search service application is used by a site collection and also by the federated search So, say it shows 1000 No of queries for the past 30 days. Site coll...

Sharepoint 2010 Search auto suggest

Sharepoint 2010 has a new OOB search auto complete feature. This is a pre search added enhancement new in sharepoint 2010. If the keyword is entered 5 times, the sixth time onwards it would be shown to the user while typing the keyword. Admins can add certain keywords to the query database, using powershell. Details on how to do it can be found in http://technet.microsoft.com/en-us/library/hh148698.aspx Using powershell and csv file to add multiple keywords is exlpained in http://get-spscripts.com/2010/07/add-pre-query-search-suggestions-with.html Custom sandbox solution for the same can be read in http://www.sharepointusecases.com/index.php/2010/04/search-autocomplete-for-sharepoint-2010-lists/

Add custom tab for search in MOSS 2007

The requirement was to have a custom tab which would get search results only from one site in the site colletion Steps done In the SSP, do the following 1. Create a new content source, with the site url and setting "Crawl only the SharePoint Site of each start address" selected 2. Create a new scope - Add rule to include content from the newly created custom content source 3. On the all site content source, add a new rule to exclude content from the custom content source 4. Run a full crawl on custom content source In the Site Settings, do the following 1. In Site Collection Administration settings - click on Search Scopes 2. Create a new display group  and select the custom scope created 3. Go to Search site and create customsearch page, customsearchresults page and customadvancedsearch page 4.In Search site, default page , click on Edit page 5.Click on Add New Tab and for Page, give the newly created search page url. Click ok and publish 6. Click on Custom ta...

Display an icon in search results page in MOSS 2007 to indicate pictures in the list item

The custom list had a column called as Snapshots which was of the type Hyperlink or Picture. The need was to customize the search results page to display an indicator for list items with images. To do so, go to SSP - Search Settings - Metadata properties - New Managed property In the New Managed Property window, do the following- Enter the property name and select the property type as text In Mappings to crawled properties - select 'Include values from a single crawled property based on the order specified' Click on Add mapping and find the custom list column and click Ok Click OK on the managed property window. Then Do a full crawl Edit the search results page and edit search core results webpart In Result Query option - selected columns, add the custom column In the XSL editor - add the following <xsl:variable name="Customicon"> <xsl:value-of select=" <enter the column name> " /> </xsl:variable> <xsl:choose> ...