Customizing SharePoint 2013 Search Experiences

Preview:

DESCRIPTION

Learn how easy it is to build powerful search experiences using SharePoint 2013. The session will showcase the Search in SharePoint 2013 and provide a technical and functional walkthrough of what is new. I will take you through the out-of-box search experience, and you will get tips and tricks on how to extend the search platform to create a great custom experience for your users.​

Citation preview

CUSTOMIZING SHAREPOINT 2013

SEARCH EXPERIENCESBy K.Mohamed Faizal ,

Lead Consultant, Chief Architect Office

NCS (P) Ltd, Singapore

www.zquad.in / @kmdfaizal

Hi !My Name is Faizal and I’m Pre-Sales Consultant and

SharePoint Architect

www.zquad.in / @kmdfaizal

TODAY YOU’RE GOING TO LEARN…

…how to quickly build search verticals

DEMO

SharePoint 2013 Search

RESULTS SOURCE AND QUERY RULES

DEMO

TODAY YOU’RE GOING TO LEARN…

…how to quickly build search verticals

Search ResultsWeb Part

ResultSource

Result TypesDisplay TemplateDisplay Template

Query Rules

BCS ConnectorsCustom SchemaRanking Models

ResultSource

TODAY YOU’RE GOING TO LEARN…

…how to respond intelligently to users with Query Rules

actingRecognize a product, promote the Knowledge Center

Recognize an image search, query for images of cameras

Recognize a top Video search, show videos of the Surface

understandingLearn more about our products

Find pictures of our cameras

What can the Surface do?

communicating

DEMO

Results Source & Query Rules

CONTROLLING THE EXPERIENCE

Add Promoted Result

Add Promoted Block

Add Ranked Block

Change Ranked Results

prom

oted

rank

ed

CUSTOMIZED SEARCH EXPERIENCE

WHAT WE WANT TO BUILD…

CONTENT SEARCHSCENARIO: SHOW DYNAMIC CONTENT

Site Collection A

Content Query Web Part

Site Collection B

Site Collection C

Site Collection

List of articles/documents

Site Collection A

SearchSearch Crawl

Content Search Web Part

Site Collection B

Site Collection C

Site Collection D

List of articles/documentsRecommendationsPopular items

CONTENT SEARCH 30,000 FT. VIEW

Get the results: Query Builder

Show the results: Display Templates

LAYERS FOR DISPLAY TEMPLATES

Control Item

Also:Filter, Group and Hover

Panel

Control Item

Also:Filter, Group and Hover

Panel

2010: XSLT HEADACHES    <xsl:template name="dvt_1.noKeyword">

        <span class="srch-description2">

            <xsl:choose>

                <xsl:when test="$IsFixedQuery">

                    <xsl:value-of select="$NoFixedQuery" />

                </xsl:when>

                <xsl:otherwise>

                    <xsl:value-of select="$NoKeyword" />

                </xsl:otherwise>

            </xsl:choose>

        </span>

    </xsl:template>

 

 

    <!-- When empty result set is returned from search -->

    <xsl:template name="dvt_1.empty">

        <div class="srch-results">

 

            <xsl:if test="string-length($SrchRSSLink) &gt; 0 and $ShowActionLinks">

                <a type="application/rss+xml" href ="{$SrchRSSLink}" title="{$SrchRSSText}" id="SRCHRSSL" class="srch-ext-action-margin">

                    <img style="vertical-align: middle;" border="0" src="/_layouts/images/rss.gif" alt=""/>

                    <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>

                    <xsl:value-of select="$SrchRSSText"/>

                </a>

               

2013: DISPLAY TEMPLATES

Retrieves managed properties

File Extension Title Preview Image

Document SummaryPath

Craft your preferred look in HTML & JavaScript instead of XSLT

DESIGN WITH ANY TOOL

Render on any device

DEMO

Content Search & Customize user experience (Simple)

DEMO

Federated Search Results (Results Source & Query Rules)

RESULT TYPES

Conditions match result properties to identify a “type” of result.

A Display Template changes the look of that type of result.

Copy existing template for best results

Kept in the Master Page Gallery

Use the editor of your choice

Add custom properties to template

YOUR OWN DISPLAY TEMPLATES

Map to result type

YOUR OWN RESULT TYPES

Choose a Display Template

Copy existing or start new

Set condition criteria

Try it out with a search!

• The volume of content that you have in your search index affects how fast users retrieve search results

• Here are some examples of items:

• documents, web pages, SharePoint list entries, and images.

SIZE SEARCH ARCHITECTURE

Volume of content Sample search architecture

0-10 million items Small search farm

10-40 million items Medium search farm

40-100 million items Large search farm

• If you have up to 10 million items, the small search farm will probably be the most suitable farm for you.

• Microsoft tested this search architecture, and measured that it can crawl 50 documents per second, and serve 10 queries per second.

• With a crawl rate of 50 documents per second, it takes search about 55 hours to crawl 10 million items in the first full crawl.

SMALL SEARCH FARM

• If you have between 10 and 40 million items, the medium search farm will probably be the most suitable farm for you.

• Microsoft tested this search architecture, and measured that it can crawl 100 documents per second, and serve 10 queries per second.

• With a crawl rate of 100 documents per second, it takes search about 111 hours to crawl 40 million items in the first full crawl.

MEDIUM SEARCH FARM

Large search farmIf you have between 40 and 100 million items, the large search farm will probably be the most suitable farm for you. Microsoft tested this search architecture, and measured that it can crawl 200 documents per second, and serve 10 queries per second. With a crawl rate of 150 documents per second, it takes search about 139 hours to crawl 100 million items in the first full crawl.

Thank you,By Mohamed Faizal

Questions?

Recommended