• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Examining the new search core in SharePoint 2013
 

Examining the new search core in SharePoint 2013

on

  • 2,991 views

Much has been written about Search in SharePoint 2013 – and rightly so. But if you think the airtight FAST integration is all there is… think again! New cutting-edge technology has made its way ...

Much has been written about Search in SharePoint 2013 – and rightly so. But if you think the airtight FAST integration is all there is… think again! New cutting-edge technology has made its way into the platform, promising for more flexibility, better performance and richer functionality.
But how is it different? What can we use it for? And how does all of this affect capacity planning, deployment, and day-to-day maintenance like resizing, coping with HW failures and keeping up the seemingly always-changing business requirements? In this session we'll explore all of this - and more!

Statistics

Views

Total Views
2,991
Views on SlideShare
2,386
Embed Views
605

Actions

Likes
5
Downloads
0
Comments
0

10 Embeds 605

http://blog.comperiosearch.com 487
https://twitter.com 58
http://localhost 36
http://beta.comperio.no 10
http://www.linkedin.com 7
http://test.comperio.datasenter.no 2
http://www.feedspot.com 2
http://share.cuonline.edu 1
https://abs.twimg.com 1
http://172.16.2.40 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Examining the new search core in SharePoint 2013 Examining the new search core in SharePoint 2013 Presentation Transcript

    • Examining the newSearch core in SP2013Marcus JohanssonOSLO STOCKHOLM LONDON BOSTON SINGAPORE
    • Marcus Johansson• Senior Consultant, Comperio• V-TSP Enterprise Search, MicrosoftEmail: marcus.johansson@comperiosearch.comTwitter: @marcjohaBlog: http://blog.comperiosearch.comLinkedIn: http://www.linkedin.com/in/marcusjohansson
    • End of an era, birth of a New age• FAST now “fully integrated” – True, but there’s more!• No longer a “FAST license” – SP2013 contains everything – Enterprise version• Migration from FS4SP? – Brr…  1997 – 2013
    • The evolution of FAST Secret sauce (incl. Mars) FSIS Search in FDS ESP FS4SP SP2013 FSIA Search in SP2010
    • All this talk about the new Sheriff…• Search in SP2013 gets a lot of attention – Revamped user/admin interface – Hover panels, previews – Query rules, result blocks – Result types, display templates – “You’ve seen this result before” – Query Builder – Content Search web part – Etc.• Notice the pattern?
    • …what Search in SP13 really is Empowering Better, more Major user the whole powerful experience SharePoint extensibility overhaul experience Finally a Vastly single search improved architecture search core• How come most of the buzz is about the UX?
    • For the first time, Search isn’t defined by the nuts and bolts,but from the User Experienceand high-level tools around it.
    • Examining SharePoint 2013’sNEW SEARCH CORE
    • Search architecture Public API Extensibility Points Unit of scale/role boundary Crawl Link Analytics Admin Reporting
    • The search components• A “node” is an instance of a component• Scale by adding nodes
    • RESTful interfaces• Directly interact with SharePoint artifacts by using any technology supporting REST• Also: – CSOM JavaScript, Silverlight – SSOM Managed code
    • The new Search Service Application
    • Keeping it all together Services ProcessesProcess name Descriptionhostcontrollerservice.exe Process controller. Monitors and restarts children.noderunner.exe A search component (except the crawl component)mssearch.exe The crawl component.
    • Crawl component • Changes from SP2010 mssearch.exe – Only crawling • No indexing – Continuous crawl • Improves freshness – Crawl Log • More details • Document removal Crawl – Crawl Health Report • Huge improvement!
    • Continuous crawls• Not event-driven indexing• Starts crawl regardless of prior crawl session• Large change sets no longer bad for freshness Full and incremental Continuous Default 15 min time• Only available for SharePoint content types – Possible to crawl SP 2010 and 2007
    • Crawl health reports Crawl rate per type Crawl load CPU and Content Rate Latency Freshness memory Processing Etc. load activity
    • Crawl component performance• Anecdotal: feels faster, more stable• Bound by CPU and network – Documents per second – Link discovery• Some I/O – files temporarily stored on disk• Adjust performance by: – Crawler impact rules – Performance level (number of threads) Set-SPEnterpriseSearchService -PerformanceLevel X
    • Content processing component • Schema mapping – Crawled  Managed properties • Entity extraction – Companies and custom • Advanced Filter Pack is gone – Though PDFs are out of the box • Extensible through web service • Internally: processing flows Link – Replaces pipeline in FS4SP – Based on FSIS/CTS. Hidden 
    • Content processing flows• Hidden in SP2013. In FSIS, flows could be created, modified and debugged in real-time.• Why on earth was this not included in SP2013!? The flow designer in FSIS, not available in SP2013.
    • Processing flow execution
    • Index component • Disk-based and atomic(!) • Divided into partitions • One partition per 10M docs • 1 partition contains 1+ replicas – fault-tolerance – query volume • 1 replica, 1 server • Indexing partially in-memory
    • Example: Partitions and replicasSame contentDifferent content
    • Query processing component• Prepares the queries – Query rules – Result sources – Linguistics/dictionaries – Etc.• Manipulates the results – Display templates – Late security trimming – Etc.• Internally: processing flows – Derived from FSIS/IMS. Again, this is hidden  – Still MAJOR improvement compared to FS4SP
    • Query rules• For a certain term  trigger certain action: – Add/change query terms – Use alternate sorting/relevance – Hybrid search (or other federated results) – Etc.• Replaces search keywords in SP2010• Configure at farm, site collection or site-level• Warning: Triggering the query rules engine comes with a penalty – Anecdotal tests: ~70ms + excl. parallel queries
    • Query builder• Easily builds KQL – CSWP, result sources, query rules, etc.
    • Query client types• Adjust throttling per client type
    • Query health reports Latency per processing node in SharePoint flow Latency in Latency in Trend Overall each Index times Etc. main flow subflow
    • Analytics processing component• Analyzes crawled items and search usage• Updates index without re-indexing documents• Result: relevance becomes self-learning – Also: search reports and recommendations Link Analytics Reporting
    • Type 1: Search analyticsInfluences relevanceType DescriptionAnchor processing Comparable to Google PageRank.Click Distance Number of clicks to an authoritative page.Search clicks Keeps track of how users click in the results.Used in search centerType DescriptionSocial tags Tags that users apply to content. Not used per default, but could be integrated as e.g. refiners.Social distance Used for sorting in People search.Deep links Subsite that users click on are added as deep links on the top-site result.
    • Type 2: SP usage analytics• Usage counts – Opened and viewed items – From all of SharePoint, not just search results – Improves relevance• Activity ranking – Looks for trends and boosts “hot” items• Recommendations – Looks for usage patterns within a site – “People who viewed this also viewed…”
    • Search reports• Self-learning relevance aside, never underestimate manual effort! – Query rules, synonyms, boosts, etc.• Automatic reports: – Number of queries – Top queries – Abandoned queries – No-result queries – Query rule usage
    • Search administration component• Provisions other search components• Talks to Admin database on behalf of: Crawl, Content and Query processing components• In previous FAST products, it was impossible to make the admin component redundant – Not the case in SP2013! – Scale appropriately Admin
    • Hardware propertiesComponent CPU Memory Disk I/O NetworkCrawl Medium Medium Medium HighContent processing High High MediumIndex High High High MediumQuery processing Low Medium MediumAnalytics processing Medium Medium Medium HighSearch administration Low Low Low Low• Special cases – Crawler temporarily store files on disk – Memory usage of admin component increases with topology size
    • Changes in HW requirements• I/O bound, lots of IOPS! • Still I/O-bound, but:• VMs not recommended – VMs are fine!• Often issues with SANs – SANs are fine! • More RAM required, but: – Lower indexing latency – Lower search times• Thresholds: • Thresholds : – 15M items/server – 10M items/server – Tested at 500M items – Tested at 500M items
    • A note on RAM consumption• Search is a BIG thief of RAM in SP13• Memory limit configurable in: <15 hive>SearchRuntime1.0noderunner.exe.config – Warning: Components may crash at limit• Safer options: – Decrease memory limit for the Distributed Cache service. – Tell your boss: “RAM is cheap. I’m not!”
    • Questions?Email: marcus.johansson@comperiosearch.com ThankTwitter:Blog: @marcjoha http://blog.comperiosearch.com you!LinkedIn: http://www.linkedin.com/in/marcusjohansson