Customizing SharePoint 2013 Search Experiences

29
CUSTOMIZING SHAREPOINT 2013 SEARCH EXPERIENCES By K.Mohamed Faizal , Lead Consultant, Chief Architect Office NCS (P) Ltd, Singapore www.zquad.in / @kmdfaizal

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.​

Transcript of Customizing SharePoint 2013 Search Experiences

Page 1: Customizing SharePoint 2013 Search Experiences

CUSTOMIZING SHAREPOINT 2013

SEARCH EXPERIENCESBy K.Mohamed Faizal ,

Lead Consultant, Chief Architect Office

NCS (P) Ltd, Singapore

www.zquad.in / @kmdfaizal

Page 2: Customizing SharePoint 2013 Search Experiences

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

SharePoint Architect

www.zquad.in / @kmdfaizal

Page 3: Customizing SharePoint 2013 Search Experiences

TODAY YOU’RE GOING TO LEARN…

…how to quickly build search verticals

Page 4: Customizing SharePoint 2013 Search Experiences

DEMO

SharePoint 2013 Search

Page 5: Customizing SharePoint 2013 Search Experiences

RESULTS SOURCE AND QUERY RULES

DEMO

Page 6: Customizing SharePoint 2013 Search Experiences

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

Page 7: Customizing SharePoint 2013 Search Experiences

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

Page 8: Customizing SharePoint 2013 Search Experiences

DEMO

Results Source & Query Rules

Page 9: Customizing SharePoint 2013 Search Experiences

CONTROLLING THE EXPERIENCE

Add Promoted Result

Add Promoted Block

Add Ranked Block

Change Ranked Results

prom

oted

rank

ed

Page 10: Customizing SharePoint 2013 Search Experiences

CUSTOMIZED SEARCH EXPERIENCE

Page 11: Customizing SharePoint 2013 Search Experiences

WHAT WE WANT TO BUILD…

Page 12: Customizing SharePoint 2013 Search Experiences

CONTENT SEARCHSCENARIO: SHOW DYNAMIC CONTENT

Page 13: Customizing SharePoint 2013 Search Experiences

Site Collection A

Content Query Web Part

Site Collection B

Site Collection C

Site Collection

List of articles/documents

Page 14: Customizing SharePoint 2013 Search Experiences

Site Collection A

SearchSearch Crawl

Content Search Web Part

Site Collection B

Site Collection C

Site Collection D

List of articles/documentsRecommendationsPopular items

Page 15: Customizing SharePoint 2013 Search Experiences

CONTENT SEARCH 30,000 FT. VIEW

Get the results: Query Builder

Show the results: Display Templates

Page 16: Customizing SharePoint 2013 Search Experiences

LAYERS FOR DISPLAY TEMPLATES

Control Item

Also:Filter, Group and Hover

Panel

Control Item

Also:Filter, Group and Hover

Panel

Page 17: Customizing SharePoint 2013 Search Experiences

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>

               

Page 18: Customizing SharePoint 2013 Search Experiences

2013: DISPLAY TEMPLATES

Retrieves managed properties

File Extension Title Preview Image

Document SummaryPath

Craft your preferred look in HTML & JavaScript instead of XSLT

Page 19: Customizing SharePoint 2013 Search Experiences

DESIGN WITH ANY TOOL

Render on any device

Page 20: Customizing SharePoint 2013 Search Experiences

DEMO

Content Search & Customize user experience (Simple)

Page 21: Customizing SharePoint 2013 Search Experiences

DEMO

Federated Search Results (Results Source & Query Rules)

Page 22: Customizing SharePoint 2013 Search Experiences

RESULT TYPES

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

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

Page 23: Customizing SharePoint 2013 Search Experiences

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

Page 24: Customizing SharePoint 2013 Search Experiences

YOUR OWN RESULT TYPES

Choose a Display Template

Copy existing or start new

Set condition criteria

Try it out with a search!

Page 25: Customizing SharePoint 2013 Search Experiences

• 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

Page 26: Customizing SharePoint 2013 Search Experiences

• 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

Page 27: Customizing SharePoint 2013 Search Experiences

• 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

Page 28: Customizing SharePoint 2013 Search Experiences

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.

Page 29: Customizing SharePoint 2013 Search Experiences

Thank you,By Mohamed Faizal

Questions?