SlideShare a Scribd company logo
1 of 28
FAST SEARCH
Toan Nguyen (HTY)
AGENDA
| 14.06.16 | 2Fast Search
1. History of fast search (15’)
2. General points of fast search (30’)
3. Display template (30’)
4. Managed properties (10’)
5. Search Tool (10’)
6. Common issues (10’)
7. Content Enrichment Web Service (CEWS) (15’)
8. Custom extraction dictionary (15’)
HISTORY OF FAST SEARCH
| 06.07.2019 | 3Fast Search
SP 2007
• SharePoint search
SP 2010
• SharePoint search
• Fast Search (enterprise license)
SP 2013..
• Fast Search as default search
service application
GENERAL POINTS OF FAST SEARCH
■ Query search types
■ Which data can be crawled?
■ Crawls:
 Full crawl
 Incremental crawl
 continuous crawl
■ Permission notice
■ History log
■ Rules
| 06.07.2019 | 4Fast Search
Which data can be crawled?
GENERAL POINTS OF FAST SEARCH
■ Fast search can crawl data not only for SharePoint content but also for outside
SharePoint content (external data), for example CRM
■ Check with ALE or TTL for the configuration
■ Open question: Could fast search crawl any web site? Do we need to pre-
define a structure for external data? => HAN will check and give us answers 
| 06.07.2019 | 5Presentation Title
QUERY SEARCH TYPES
■ There 2 types of search query we can use in SharePoint 2013
(https://msdn.microsoft.com/en-us/library/office/jj163973.aspx )
 Keyword Query Language (KQL)
Ex: author:"John Smith"
Search contents that have author is John Smith
Ref: https://msdn.microsoft.com/en-us/library/office/ee558911.aspx
 Fast query language (FQL)
Ex: body:string("hello world", mode="and")
Searches for the terms "hello" and "world" in the body managed property
Ref: https://msdn.microsoft.com/en-us/library/office/ff394606.aspx
Contact info: HAN
| 06.07.2019 | 6Presentation Title
Full crawl
CRAWLS
■ If the incremental crawl failed to crawl content for errors , Incremental crawl
removes the content from index until next full crawl.
■ When a software update for SharePoint or service pack is installed on servers
in the farm, full crawl is required.
■ Add a new mapping for the Managed Metadata property which used as
refinements in search results. (e.g. add new filter in search center for
documents to refine results by division ).
■ To include document changes on a non SharePoint 2013 sites or older
versions of SharePoint, like ASPX pages on Windows SharePoint Services 3.0
or Microsoft Office SharePoint Server 2007 sites.
■ You want to detect security changes that were made on a file share after the
last full crawl of the file share.
■ Crawl rules have been added, deleted, or modified which is used to include or
exclude sites URLs to be crawled.
■ Creating server name mappings.
| 06.07.2019 | 7Fast Search
Incremental crawl
CRAWLS
■ Adding new document to document library or new item to list
■ Edit current document content
■ Delete document (incremental crawl will detect the deletion and removes it
from the index and from search results).
 As TTL said, incremental crawl doesn’t work for deleting action? => In GKB
web project, It works fine. Maybe it is a magic 
 A note from BLB, if we delete a document, then upload the same document
again, we need to full crawl to make this document indexed.
■ Changing Item permissions.
■ Document properties (columns)
| 06.07.2019 | 8Fast Search
Continuous crawl
CRAWLS
■ Similar to incremental crawl
■ Only for SharePoint content source?
 As TTL said we can configure to make continuous crawl works for external
content
■ After 3 times error, Continuous crawl doesn’t procees items which have 3 times
error => “clean up” action must be performed
■ Why do we need continuous crawl?
| 06.07.2019 | 9Fast Search
Continuous crawl …
CRAWLS
■ Intervals is set by 15minutes by default and can’t be changed on UI?
$ssa = Get-SPEnterpriseSearchServiceApplication
$ssa.SetProperty(“ContinuousCrawlInterval”,<n>)
■ Enable Continuous crawl:
$SSA = Get-SPEnterpriseSearchServiceApplication
$SPContentSources = $SSA | Get-SPEnterpriseSearchCrawlContentSource | WHERE {$_.Type -eq "SharePoint"}
foreach ($cs in $SPContentSources) {
$cs.EnableContinuousCrawls = $false
$cs.Update()
}
■ PPay attention from GKB project
 Log file so big
 Performance
■ Ref: https://technet.microsoft.com/en-us/library/jj219802.aspx
| 06.07.2019 | 10Fast Search
PERMISSION NOTICE
■ When changing permission on item or list, incremental crawl is enough.
■ When we changing permission on parent folder, we need to full crawl???
 As PTL said, this issue only happens when the number of items greater
than “magic number”
 We should ask the customer full crawl for sure 
| 06.07.2019 | 11Fast Search
HISTORY LOG
■ What is it useful for? => Analyze issue
■ Demo
| 06.07.2019 | 12Fast Search
RULES
■ Restrict data will be crawled
■ There are numbers of ways restrict data in search result
 Set index property in list = false
 Create crawl rule
 Create Result Source
 Create Query rule
Please contact PTL, BLB or TTL if you face any issue with these ways.
■ Demo
| 06.07.2019 | 13Fast Search
DISPLAY TEMPLATE
■ How the results are rendered in search result pages?
■ Display template
■ Modify display template using SharePoint designer
■ Provision notes
■ Result Type
■ Contact for help: TDV, PTL, HTY
| 06.07.2019 | 14Fast Search
Custom document properties
DISPLAY TEMPLATE
<mso:CustomDocumentProperties>
<mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
<mso:MasterPageDescription msdt:dt="string">Zeigt die Standardergebniselement-Vorlage
an.</mso:MasterPageDescription>
<mso:ContentTypeId
msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
<mso:TargetControlType msdt:dt="string">;#SearchResults;#</mso:TargetControlType>
<mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
<mso:ManagedPropertyMapping
msdt:dt="string">'Title':'Title','Path':'Path','Description':'Description','EditorOWSUSER':'EditorOWSUSER','
LastModifiedTime':'LastModifiedTime','CollapsingStatus':'CollapsingStatus','DocId':'DocId','HitHighlightedS
ummary':'HitHighlightedSummary','HitHighlightedProperties':'HitHighlightedProperties','FileExtension':'File
Extension','ViewsLifeTime':'ViewsLifeTime','ParentLink':'ParentLink','FileType':'FileType','IsContainer':'IsCo
ntainer','SecondaryFileExtension':'SecondaryFileExtension','DisplayAuthor':'DisplayAuthor'</mso:Manage
dPropertyMapping>
</mso:CustomDocumentProperties>
| 06.07.2019 | 15Presentation Title
Custom document properties
DISPLAY TEMPLATE
<mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
■ The TemplateHidden property specifies if the template is hidden for people to
select it in one of the search web parts. Values can either be 0 (visible) or 1
(hidden).
■ We always set TemplateHidden = 0 if there is no special reason
| 06.07.2019 | 16Presentation Title
Custom document properties
DISPLAY TEMPLATE
<mso:ContentTypeId
msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:Co
ntentTypeId>
■ ContentTypeId is not SPContentTypeId
■ Flowing values can be set for ContentTypeId
| 06.07.2019 | 17Presentation Title
Display Template ID
Control Display Template
0x0101002039C03B61C64EC4A04F536
1F385106601
Group Display Template
0x0101002039C03B61C64EC4A04F536
1F385106602
Item Display Template
0x0101002039C03B61C64EC4A04F536
1F385106603
Filter Display Template
0x0101002039C03B61C64EC4A04F536
1F385106604
Custom document properties
DISPLAY TEMPLATE
<mso:TargetControlType
msdt:dt="string">;#SearchResults;#</mso:TargetControlType>
■ Specifying which webpart can be use this display template
■ Flowing values can be set for TargetControlType
| 06.07.2019 | 18Presentation Title
Web Part Property Value
Content Search Web Part Content Web Parts
Search Result Web Part SearchResults
Search Hover Panel (used in the in
combination with the item template)
SearchHoverPanel
Searchbox SearchBox
Refinement Web Part Refinement
Taxonomy Refinement Web Part TaxonomyRefinement
Custom document properties
DISPLAY TEMPLATE
<mso:ManagedPropertyMapping
msdt:dt="string">'Title':'Title','Path':'Path','Description':'Description
■ The ManagedPropertyMapping property needs to be used to determine
which managed properties needs to be retrieved to make use of them in the
item display template.
■ Syntax: "slot name":"managed property name”, ex ‘DocTitle‘:'Title‘
 Slot name is the name we use in JavaScript code
 Notes:
 We should define slot name = managed property name
 We can define managed property only. For instance
<mso:ManagedPropertyMapping
msdt:dt="string">'Title','Path','Description’…
■ You could also specify multiple values for a specific slot. That way, if the first
property doesn't contain a value, it takes the next one.
Ref: http://www.eliostruyf.com/display-template-custom-document-properties-
explained/
| 06.07.2019 | 19Presentation Title
Modify display template using SharePoint designer
DISPLAY TEMPLATE
■ Don’t do it from scratch
■ Usually, I will copy a suitable template
■ Update custom document properties
■ Provision to SharePoint
■ Using SharePoint designer to modify how the result is displayed
■ Demo
| 06.07.2019 | 20Presentation Title
Provision notes
DISPLAY TEMPLATE
■ Make sure display template is checked in
■ Normally we will have a code to check the file in, maybe Powershell or C#
code (feature activate)
■ Normally, we only need to provision html file, SharePoint will generate js file
■ …
Contact TDV or HAN for issues on provisioning
| 06.07.2019 | 21Presentation Title
Result Type
DISPLAY TEMPLATE
■ Demo
| 06.07.2019 | 22Presentation Title
MANAGED PROPERTIES
■ Crawled property and managed property
■ Create managed property by UI
■ SourceID => auto generate managed property
| 06.07.2019 | 23Fast Search
SEARCH TOOL
■ Pay attention on Trim duplicate option
■ Enable Search Query log
■ Demo
| 06.07.2019 | 24Fast Search
COMMON ISSUES
■ Why I can’t see items in result page?
 Current user have permission to see this item? Check log
■ Why items can’t be crawled?
 Account permission Crawl rules
■ Why value “a” is empty?
 Index flag? Item is published?
■ Crawl doesn’t work any more?
 Reset index, Reset IIS and Timer job, Restart Server
■ I have just deleted search service ?
 ask APL 
■ I have check all above information but it can’t work?
 ask PTL, TTL, PNH 
■ Why the number of result in search result page is different with number of results in
Search tool?
 Correct query string? Trim duplicate?
| 06.07.2019 | 25Fast Search
QUESTIONS FOR NEXT SESSION
■ Scenario 1: The customers want to search documents by some information,
but he doesn’t want these information was added to document as a field or tag
value because they are confidential information. So what are the solutions in
this case?
■ Scenario 2: If we have a managed metadata with below value:
 Ho Chi Minh City
 Ho Chi Minh City - Melody
 Ho Chi Minh City - DaiPhuc
 VN-D
 VN-M
Customer request: refinement only shows "Ho Chi Minh City" for all these
values. Which solutions can we have to achieve this requirement?
| 06.07.2019 | 26Fast Search
CONTENT ENRICHMENT WEB SERVICE (CEWS)
■ Scenario: The customers want to search documents by some information, but
he doesn’t want these information was add to document as a field or tag
because they are confidential information. So what are the solutions in this
case?
■ Setup CEWS
 Create WCF service which extend IContentProcessingEnrichmentService
 Extend IContentProcessingEnrichmentService
 Implement ProcessItem using client side object model (CSOM)
 Notes: cache data whenever we can, log information as detail as possible
■ Deploy and debug
 Please set correct permission (app pool account or admin account)
 Run script to inform Fast search trigger CEWS
■ Reference: https://nguyentoanuit.wordpress.com/2016/06/09/content-
enrichment-web-service-add-more-information-to-spitem-when-fast-search-
crawling/
| 06.07.2019 | 27Fast Search
CUSTOM EXTRACTION DICTIONARY
| 06.07.2019 | 28Fast Search

More Related Content

Similar to Basic SharePoint search

Eladio Abquina on FOSS TOOL for Mining Big Data;OCC PORTAL Dashboard Story
Eladio Abquina on FOSS TOOL for Mining Big Data;OCC PORTAL Dashboard StoryEladio Abquina on FOSS TOOL for Mining Big Data;OCC PORTAL Dashboard Story
Eladio Abquina on FOSS TOOL for Mining Big Data;OCC PORTAL Dashboard StoryCP-Union
 
SharePoint 2013 Search - Whats new for End Users
SharePoint 2013 Search - Whats new for End UsersSharePoint 2013 Search - Whats new for End Users
SharePoint 2013 Search - Whats new for End UsersMark Stokes
 
Becoming a SharePoint Design Ninja
Becoming a SharePoint Design NinjaBecoming a SharePoint Design Ninja
Becoming a SharePoint Design NinjaKanwal Khipple
 
Sharepoint Content and Usage Reports - guide by SPDocKit
Sharepoint Content and Usage Reports - guide by SPDocKitSharepoint Content and Usage Reports - guide by SPDocKit
Sharepoint Content and Usage Reports - guide by SPDocKitSysKit Ltd
 
Sps redmond 2014 deck
Sps redmond 2014 deckSps redmond 2014 deck
Sps redmond 2014 deckDorinda Reyes
 
Enhancing Relevancy & End User Experience with SharePoint Search
Enhancing Relevancy & End User Experience with SharePoint SearchEnhancing Relevancy & End User Experience with SharePoint Search
Enhancing Relevancy & End User Experience with SharePoint SearchGina Montgomery, V-TSP
 
Content migration for sitecore
Content migration for sitecoreContent migration for sitecore
Content migration for sitecoreSurendra Sharma
 
Becoming "Facet"-nated with Search API
Becoming "Facet"-nated with Search APIBecoming "Facet"-nated with Search API
Becoming "Facet"-nated with Search APIcgmonroe
 
Exploring the New Search in SharePoint 2013 - What can you do now?
Exploring the New Search in SharePoint 2013 - What can you do now?Exploring the New Search in SharePoint 2013 - What can you do now?
Exploring the New Search in SharePoint 2013 - What can you do now?Benjamin Niaulin
 
SharePoint 2013 Search Topology and Optimization
SharePoint 2013 Search Topology and OptimizationSharePoint 2013 Search Topology and Optimization
SharePoint 2013 Search Topology and OptimizationMike Maadarani
 
Sharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra usSharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra usQUONTRASOLUTIONS
 
HTML - hypertext markup language
HTML - hypertext markup languageHTML - hypertext markup language
HTML - hypertext markup languageBasmaa Mostafa
 
Find It With Share Point Search
Find It With Share Point SearchFind It With Share Point Search
Find It With Share Point SearchMike Brannon
 
SharePoint 2013 Search - A Developer’s Perspective - SPSSV 2013
SharePoint 2013 Search - A Developer’s Perspective - SPSSV 2013SharePoint 2013 Search - A Developer’s Perspective - SPSSV 2013
SharePoint 2013 Search - A Developer’s Perspective - SPSSV 2013Ryan McIntyre
 
Branding share point 2013
Branding share point 2013Branding share point 2013
Branding share point 2013Khoa Quach
 
SharePoint Search Enrichment
SharePoint Search EnrichmentSharePoint Search Enrichment
SharePoint Search EnrichmentManoj Mittal
 
Iw411 migrating content by search from 2010 into 2013 - minified
Iw411   migrating content by search from 2010 into 2013 - minifiedIw411   migrating content by search from 2010 into 2013 - minified
Iw411 migrating content by search from 2010 into 2013 - minifiedPaul Hunt
 
Leveraging SharePoint 2013 Search and CSR
Leveraging SharePoint 2013 Search and CSRLeveraging SharePoint 2013 Search and CSR
Leveraging SharePoint 2013 Search and CSRSparkhound Inc.
 
SPSSTHLM - Using JSLink and Display Templates for ITPros
SPSSTHLM - Using JSLink and Display Templates for ITProsSPSSTHLM - Using JSLink and Display Templates for ITPros
SPSSTHLM - Using JSLink and Display Templates for ITProsPaul Hunt
 

Similar to Basic SharePoint search (20)

Eladio Abquina on FOSS TOOL for Mining Big Data;OCC PORTAL Dashboard Story
Eladio Abquina on FOSS TOOL for Mining Big Data;OCC PORTAL Dashboard StoryEladio Abquina on FOSS TOOL for Mining Big Data;OCC PORTAL Dashboard Story
Eladio Abquina on FOSS TOOL for Mining Big Data;OCC PORTAL Dashboard Story
 
SharePoint 2013 Search - Whats new for End Users
SharePoint 2013 Search - Whats new for End UsersSharePoint 2013 Search - Whats new for End Users
SharePoint 2013 Search - Whats new for End Users
 
Becoming a SharePoint Design Ninja
Becoming a SharePoint Design NinjaBecoming a SharePoint Design Ninja
Becoming a SharePoint Design Ninja
 
Sharepoint Content and Usage Reports - guide by SPDocKit
Sharepoint Content and Usage Reports - guide by SPDocKitSharepoint Content and Usage Reports - guide by SPDocKit
Sharepoint Content and Usage Reports - guide by SPDocKit
 
Sps redmond 2014 deck
Sps redmond 2014 deckSps redmond 2014 deck
Sps redmond 2014 deck
 
OCC Portal - A Dashboards Story
OCC Portal - A Dashboards StoryOCC Portal - A Dashboards Story
OCC Portal - A Dashboards Story
 
Enhancing Relevancy & End User Experience with SharePoint Search
Enhancing Relevancy & End User Experience with SharePoint SearchEnhancing Relevancy & End User Experience with SharePoint Search
Enhancing Relevancy & End User Experience with SharePoint Search
 
Content migration for sitecore
Content migration for sitecoreContent migration for sitecore
Content migration for sitecore
 
Becoming "Facet"-nated with Search API
Becoming "Facet"-nated with Search APIBecoming "Facet"-nated with Search API
Becoming "Facet"-nated with Search API
 
Exploring the New Search in SharePoint 2013 - What can you do now?
Exploring the New Search in SharePoint 2013 - What can you do now?Exploring the New Search in SharePoint 2013 - What can you do now?
Exploring the New Search in SharePoint 2013 - What can you do now?
 
SharePoint 2013 Search Topology and Optimization
SharePoint 2013 Search Topology and OptimizationSharePoint 2013 Search Topology and Optimization
SharePoint 2013 Search Topology and Optimization
 
Sharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra usSharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra us
 
HTML - hypertext markup language
HTML - hypertext markup languageHTML - hypertext markup language
HTML - hypertext markup language
 
Find It With Share Point Search
Find It With Share Point SearchFind It With Share Point Search
Find It With Share Point Search
 
SharePoint 2013 Search - A Developer’s Perspective - SPSSV 2013
SharePoint 2013 Search - A Developer’s Perspective - SPSSV 2013SharePoint 2013 Search - A Developer’s Perspective - SPSSV 2013
SharePoint 2013 Search - A Developer’s Perspective - SPSSV 2013
 
Branding share point 2013
Branding share point 2013Branding share point 2013
Branding share point 2013
 
SharePoint Search Enrichment
SharePoint Search EnrichmentSharePoint Search Enrichment
SharePoint Search Enrichment
 
Iw411 migrating content by search from 2010 into 2013 - minified
Iw411   migrating content by search from 2010 into 2013 - minifiedIw411   migrating content by search from 2010 into 2013 - minified
Iw411 migrating content by search from 2010 into 2013 - minified
 
Leveraging SharePoint 2013 Search and CSR
Leveraging SharePoint 2013 Search and CSRLeveraging SharePoint 2013 Search and CSR
Leveraging SharePoint 2013 Search and CSR
 
SPSSTHLM - Using JSLink and Display Templates for ITPros
SPSSTHLM - Using JSLink and Display Templates for ITProsSPSSTHLM - Using JSLink and Display Templates for ITPros
SPSSTHLM - Using JSLink and Display Templates for ITPros
 

Recently uploaded

AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 

Recently uploaded (20)

AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 

Basic SharePoint search

  • 2. AGENDA | 14.06.16 | 2Fast Search 1. History of fast search (15’) 2. General points of fast search (30’) 3. Display template (30’) 4. Managed properties (10’) 5. Search Tool (10’) 6. Common issues (10’) 7. Content Enrichment Web Service (CEWS) (15’) 8. Custom extraction dictionary (15’)
  • 3. HISTORY OF FAST SEARCH | 06.07.2019 | 3Fast Search SP 2007 • SharePoint search SP 2010 • SharePoint search • Fast Search (enterprise license) SP 2013.. • Fast Search as default search service application
  • 4. GENERAL POINTS OF FAST SEARCH ■ Query search types ■ Which data can be crawled? ■ Crawls:  Full crawl  Incremental crawl  continuous crawl ■ Permission notice ■ History log ■ Rules | 06.07.2019 | 4Fast Search
  • 5. Which data can be crawled? GENERAL POINTS OF FAST SEARCH ■ Fast search can crawl data not only for SharePoint content but also for outside SharePoint content (external data), for example CRM ■ Check with ALE or TTL for the configuration ■ Open question: Could fast search crawl any web site? Do we need to pre- define a structure for external data? => HAN will check and give us answers  | 06.07.2019 | 5Presentation Title
  • 6. QUERY SEARCH TYPES ■ There 2 types of search query we can use in SharePoint 2013 (https://msdn.microsoft.com/en-us/library/office/jj163973.aspx )  Keyword Query Language (KQL) Ex: author:"John Smith" Search contents that have author is John Smith Ref: https://msdn.microsoft.com/en-us/library/office/ee558911.aspx  Fast query language (FQL) Ex: body:string("hello world", mode="and") Searches for the terms "hello" and "world" in the body managed property Ref: https://msdn.microsoft.com/en-us/library/office/ff394606.aspx Contact info: HAN | 06.07.2019 | 6Presentation Title
  • 7. Full crawl CRAWLS ■ If the incremental crawl failed to crawl content for errors , Incremental crawl removes the content from index until next full crawl. ■ When a software update for SharePoint or service pack is installed on servers in the farm, full crawl is required. ■ Add a new mapping for the Managed Metadata property which used as refinements in search results. (e.g. add new filter in search center for documents to refine results by division ). ■ To include document changes on a non SharePoint 2013 sites or older versions of SharePoint, like ASPX pages on Windows SharePoint Services 3.0 or Microsoft Office SharePoint Server 2007 sites. ■ You want to detect security changes that were made on a file share after the last full crawl of the file share. ■ Crawl rules have been added, deleted, or modified which is used to include or exclude sites URLs to be crawled. ■ Creating server name mappings. | 06.07.2019 | 7Fast Search
  • 8. Incremental crawl CRAWLS ■ Adding new document to document library or new item to list ■ Edit current document content ■ Delete document (incremental crawl will detect the deletion and removes it from the index and from search results).  As TTL said, incremental crawl doesn’t work for deleting action? => In GKB web project, It works fine. Maybe it is a magic   A note from BLB, if we delete a document, then upload the same document again, we need to full crawl to make this document indexed. ■ Changing Item permissions. ■ Document properties (columns) | 06.07.2019 | 8Fast Search
  • 9. Continuous crawl CRAWLS ■ Similar to incremental crawl ■ Only for SharePoint content source?  As TTL said we can configure to make continuous crawl works for external content ■ After 3 times error, Continuous crawl doesn’t procees items which have 3 times error => “clean up” action must be performed ■ Why do we need continuous crawl? | 06.07.2019 | 9Fast Search
  • 10. Continuous crawl … CRAWLS ■ Intervals is set by 15minutes by default and can’t be changed on UI? $ssa = Get-SPEnterpriseSearchServiceApplication $ssa.SetProperty(“ContinuousCrawlInterval”,<n>) ■ Enable Continuous crawl: $SSA = Get-SPEnterpriseSearchServiceApplication $SPContentSources = $SSA | Get-SPEnterpriseSearchCrawlContentSource | WHERE {$_.Type -eq "SharePoint"} foreach ($cs in $SPContentSources) { $cs.EnableContinuousCrawls = $false $cs.Update() } ■ PPay attention from GKB project  Log file so big  Performance ■ Ref: https://technet.microsoft.com/en-us/library/jj219802.aspx | 06.07.2019 | 10Fast Search
  • 11. PERMISSION NOTICE ■ When changing permission on item or list, incremental crawl is enough. ■ When we changing permission on parent folder, we need to full crawl???  As PTL said, this issue only happens when the number of items greater than “magic number”  We should ask the customer full crawl for sure  | 06.07.2019 | 11Fast Search
  • 12. HISTORY LOG ■ What is it useful for? => Analyze issue ■ Demo | 06.07.2019 | 12Fast Search
  • 13. RULES ■ Restrict data will be crawled ■ There are numbers of ways restrict data in search result  Set index property in list = false  Create crawl rule  Create Result Source  Create Query rule Please contact PTL, BLB or TTL if you face any issue with these ways. ■ Demo | 06.07.2019 | 13Fast Search
  • 14. DISPLAY TEMPLATE ■ How the results are rendered in search result pages? ■ Display template ■ Modify display template using SharePoint designer ■ Provision notes ■ Result Type ■ Contact for help: TDV, PTL, HTY | 06.07.2019 | 14Fast Search
  • 15. Custom document properties DISPLAY TEMPLATE <mso:CustomDocumentProperties> <mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden> <mso:MasterPageDescription msdt:dt="string">Zeigt die Standardergebniselement-Vorlage an.</mso:MasterPageDescription> <mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId> <mso:TargetControlType msdt:dt="string">;#SearchResults;#</mso:TargetControlType> <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated> <mso:ManagedPropertyMapping msdt:dt="string">'Title':'Title','Path':'Path','Description':'Description','EditorOWSUSER':'EditorOWSUSER',' LastModifiedTime':'LastModifiedTime','CollapsingStatus':'CollapsingStatus','DocId':'DocId','HitHighlightedS ummary':'HitHighlightedSummary','HitHighlightedProperties':'HitHighlightedProperties','FileExtension':'File Extension','ViewsLifeTime':'ViewsLifeTime','ParentLink':'ParentLink','FileType':'FileType','IsContainer':'IsCo ntainer','SecondaryFileExtension':'SecondaryFileExtension','DisplayAuthor':'DisplayAuthor'</mso:Manage dPropertyMapping> </mso:CustomDocumentProperties> | 06.07.2019 | 15Presentation Title
  • 16. Custom document properties DISPLAY TEMPLATE <mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden> ■ The TemplateHidden property specifies if the template is hidden for people to select it in one of the search web parts. Values can either be 0 (visible) or 1 (hidden). ■ We always set TemplateHidden = 0 if there is no special reason | 06.07.2019 | 16Presentation Title
  • 17. Custom document properties DISPLAY TEMPLATE <mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:Co ntentTypeId> ■ ContentTypeId is not SPContentTypeId ■ Flowing values can be set for ContentTypeId | 06.07.2019 | 17Presentation Title Display Template ID Control Display Template 0x0101002039C03B61C64EC4A04F536 1F385106601 Group Display Template 0x0101002039C03B61C64EC4A04F536 1F385106602 Item Display Template 0x0101002039C03B61C64EC4A04F536 1F385106603 Filter Display Template 0x0101002039C03B61C64EC4A04F536 1F385106604
  • 18. Custom document properties DISPLAY TEMPLATE <mso:TargetControlType msdt:dt="string">;#SearchResults;#</mso:TargetControlType> ■ Specifying which webpart can be use this display template ■ Flowing values can be set for TargetControlType | 06.07.2019 | 18Presentation Title Web Part Property Value Content Search Web Part Content Web Parts Search Result Web Part SearchResults Search Hover Panel (used in the in combination with the item template) SearchHoverPanel Searchbox SearchBox Refinement Web Part Refinement Taxonomy Refinement Web Part TaxonomyRefinement
  • 19. Custom document properties DISPLAY TEMPLATE <mso:ManagedPropertyMapping msdt:dt="string">'Title':'Title','Path':'Path','Description':'Description ■ The ManagedPropertyMapping property needs to be used to determine which managed properties needs to be retrieved to make use of them in the item display template. ■ Syntax: "slot name":"managed property name”, ex ‘DocTitle‘:'Title‘  Slot name is the name we use in JavaScript code  Notes:  We should define slot name = managed property name  We can define managed property only. For instance <mso:ManagedPropertyMapping msdt:dt="string">'Title','Path','Description’… ■ You could also specify multiple values for a specific slot. That way, if the first property doesn't contain a value, it takes the next one. Ref: http://www.eliostruyf.com/display-template-custom-document-properties- explained/ | 06.07.2019 | 19Presentation Title
  • 20. Modify display template using SharePoint designer DISPLAY TEMPLATE ■ Don’t do it from scratch ■ Usually, I will copy a suitable template ■ Update custom document properties ■ Provision to SharePoint ■ Using SharePoint designer to modify how the result is displayed ■ Demo | 06.07.2019 | 20Presentation Title
  • 21. Provision notes DISPLAY TEMPLATE ■ Make sure display template is checked in ■ Normally we will have a code to check the file in, maybe Powershell or C# code (feature activate) ■ Normally, we only need to provision html file, SharePoint will generate js file ■ … Contact TDV or HAN for issues on provisioning | 06.07.2019 | 21Presentation Title
  • 22. Result Type DISPLAY TEMPLATE ■ Demo | 06.07.2019 | 22Presentation Title
  • 23. MANAGED PROPERTIES ■ Crawled property and managed property ■ Create managed property by UI ■ SourceID => auto generate managed property | 06.07.2019 | 23Fast Search
  • 24. SEARCH TOOL ■ Pay attention on Trim duplicate option ■ Enable Search Query log ■ Demo | 06.07.2019 | 24Fast Search
  • 25. COMMON ISSUES ■ Why I can’t see items in result page?  Current user have permission to see this item? Check log ■ Why items can’t be crawled?  Account permission Crawl rules ■ Why value “a” is empty?  Index flag? Item is published? ■ Crawl doesn’t work any more?  Reset index, Reset IIS and Timer job, Restart Server ■ I have just deleted search service ?  ask APL  ■ I have check all above information but it can’t work?  ask PTL, TTL, PNH  ■ Why the number of result in search result page is different with number of results in Search tool?  Correct query string? Trim duplicate? | 06.07.2019 | 25Fast Search
  • 26. QUESTIONS FOR NEXT SESSION ■ Scenario 1: The customers want to search documents by some information, but he doesn’t want these information was added to document as a field or tag value because they are confidential information. So what are the solutions in this case? ■ Scenario 2: If we have a managed metadata with below value:  Ho Chi Minh City  Ho Chi Minh City - Melody  Ho Chi Minh City - DaiPhuc  VN-D  VN-M Customer request: refinement only shows "Ho Chi Minh City" for all these values. Which solutions can we have to achieve this requirement? | 06.07.2019 | 26Fast Search
  • 27. CONTENT ENRICHMENT WEB SERVICE (CEWS) ■ Scenario: The customers want to search documents by some information, but he doesn’t want these information was add to document as a field or tag because they are confidential information. So what are the solutions in this case? ■ Setup CEWS  Create WCF service which extend IContentProcessingEnrichmentService  Extend IContentProcessingEnrichmentService  Implement ProcessItem using client side object model (CSOM)  Notes: cache data whenever we can, log information as detail as possible ■ Deploy and debug  Please set correct permission (app pool account or admin account)  Run script to inform Fast search trigger CEWS ■ Reference: https://nguyentoanuit.wordpress.com/2016/06/09/content- enrichment-web-service-add-more-information-to-spitem-when-fast-search- crawling/ | 06.07.2019 | 27Fast Search
  • 28. CUSTOM EXTRACTION DICTIONARY | 06.07.2019 | 28Fast Search