Copyright © Sequence Collective Ltd 2014 Content Search Using SOLR Copyright © Sequence Collective Ltd 2014 By: Dr. Ehab ElGindy Technical Team Lead Implementing.

Slides:



Advertisements
Similar presentations
Functionality and API. Talk Goals How do I set this up? What can I do with it? Where is this going?
Advertisements

SPS Nashville 2014 Dynamic Content using SharePoint Search SHAREPOINT SATURDAY NASHVILLE– APRIL 5, 2014 MIKE ORYSZAK BLOG: TWITTER:
Customizing the SharePoint 2013 UI with JavaScript.
Help the users find what they need using the Search Speaker: Frédérique Harmsze 15 th November 2014 Host: Matthew Hughes.
SharePoint 2013 Catalog Sites Brian Culver ● SharePoint Saturday DFW ● March 7, 2015 Build a SharePoint 2013 Search Driven.
IDK0040 Võrgurakendused I RSS 2.0 Deniss Kumlander.
1 SharePoint 2013 Catalog Sites Brian Culver Build a SharePoint 2013 Search Driven Application.
Best Practices for Website Design & Web Content Management.
Technical Overview of FAST Search Server 2010 for SharePoint Sezai Komur SharePoint Solutions Architect CSG.
Modern Information Retrieval Chapter 1 Introduction.
Introduction Web Development II 5 th February. Introduction to Web Development Search engines Discussion boards, bulletin boards, other online collaboration.
Business Data Catalog. Planning the Business Data Catalog Configuring the Business Data Catalog In This Session …
Search Search Drupal with Apache Solr with CERN Web Communications Group – Copyright 2013.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Introducing Dreamweaver MX 2004
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
Benjamin Niaulin Presented at: SharePoint Saturday Utah SharePoint Geek Step into the SharePoint Branding World: Tools and Techniques.
Building Search Portals With SP2013 Search. 2 SharePoint 2013 Search  Introduction  Changes in the Architecture  Result Sources  Query Rules/Result.
JourneyTEAM - –
University of North Texas Libraries Building Search Systems for Digital Library Collections Mark E. Phillips Texas Conference on Digital Libraries May.
Thanks to Bill Arms, Marti Hearst Documents. Last time Size of information –Continues to grow IR an old field, goes back to the ‘40s IR iterative process.
Revolutionizing enterprise web development Searching with Solr.
NCSU Libraries Kristin Antelman NCSU Libraries June 24, 2006.
Overview of IU Digital Collections Search Hui Zhang Jon Dunn Indiana University Digital Library Program IU Digital Library Brown Bag October 19, 2011.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
Preparing and Deploying Data to ArcPad Juan Luera.
Freemarker ● Introduction ● Core features ● Java part example ● Template example ● Expressions ● Builtins ● Assigning value ● Conditions ● Loops ● Macros.
Searching Business Data with MOSS 2007 Enterprise Search Presenter: Corey Roth Enterprise Consultant Stonebridge Blog:
EXist Indexing Using the right index for you data Date: 9/29/2008 Dan McCreary President Dan McCreary & Associates (952) M.
Search Engines. Search Strategies Define the search topic(s) and break it down into its component parts What terms, words or phrases do you use to describe.
Instant Information Access With Magnify Search Dr. Rado Kotorov Technical Director Strategic Product Mgt.
® Microsoft Office 2013 Access Maintaining and Querying a Database.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
Artezio LLC Address: 3G Gubkina Str., suite 504, Moscow, Russia, Phone: +7 (495) Fax: +7 (495)
Iccha Sethi Serdar Aslan Team 1 Virginia Tech Information Storage and Retrieval CS 5604 Instructor: Dr. Edward Fox 10/11/2010.
COPYRIGHT 2014 SITECORE SOCIAL CONNECTED MODULE OVERVIEW ANINDITA BHATTACHARYA.
Solutions using Microsoft Content Management Server 2002 Connector for SharePoint Technologies Sue Corke Mark Harrison Microsoft UK.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Search Overview Search Features: WSS and Office Search Architecture Content Sources and.
WebFOCUS Magnify: Search Based Applications Dr. Rado Kotorov Technical Director of Strategic Product Management.
Supported by EU projects 12/12/2013 Athens, Greece Open Data in Agriculture Hands-on with data infrastructures that can power your agricultural data products.
1. 2 Google Session 1.About MIT’s Google Search Appliance (GSA) 2.Adding Google search to your web site 3.Customizing search results 4.Tips on improving.
Welcome to the Minnesota SharePoint User Group February 13 th, 2013 SharePoint 2013 – Developers Track - Client Side Rendering.
CPSC 203 Introduction to Computers T97 By Jie (Jeff) Gao.
1 Brian Remmington Alfresco Product Architect. 2 A demonstration The Web Quick Start model Overview of the features in the repository tier Overview of.
Recent CMA Enhancements Java-based Scroller Component Sample Layout Fixed problem with Component Modifier when previewing Select List components Fixed.
Working with PerformancePoint in SharePoint 2013 Christina Wheeler.
CLICK2EXPORT EXPORT TOOL FOR DYNAMICS CRM REPORTS.
Setting up a search engine KS 2 Search: appreciate how results are selected.
Apache Solr Dima Ionut Daniel. Contents What is Apache Solr? Architecture Features Core Solr Concepts Configuration Conclusions Bibliography.
Copyright © 2016, SAS Institute Inc. All rights reserved. HIDDEN GEMS IN SAS ENTERPRISE GUIDE.
Sitecore.net Training, Oct ECM 2.1 UPDATE 2 PART 1 CRAWL BEFORE YOU WALK.
Sitecore. Compelling Web Experiences Page 1www.sitecore.net Patrick Schweizer Director of Sales Enablement 2013.
General Architecture of Retrieval Systems 1Adrienn Skrop.
Introduction to Enterprise Search Corey Roth Blog: Twitter: twitter.com/coreyrothtwitter.com/coreyroth.
Making the Most of Search in SharePoint 2013 Christina Wheeler.
Benjamin Niaulin Presented at: SharePoint Fest Chicago SharePoint Geek Content Query Web Part – Get it all in one place and style it!
Building Search Driven Applications Brian Caauwe
Bringing 2sxc to the next level
Implementing Autocomplete with Solr and jQuery
Using Sitekit CMS Posts
An introduction to REST for SharePoint 2013
SharePoint Site Admin Training
Building Search Systems for Digital Library Collections
Jon Fancey Enterprise Integration with Logic Apps
(Includes setup) FAQ ON DOCUMENTS (Includes setup)
Sam Fisher, Josh Horn, Johanna Pinsirikul, Taylor Sims
Lucene/Solr Architecture
Spreadsheets, Modelling & Databases
Presentation transcript:

Copyright © Sequence Collective Ltd 2014 Content Search Using SOLR Copyright © Sequence Collective Ltd 2014 By: Dr. Ehab ElGindy Technical Team Lead Implementing Content Search for Car Dealer Website

Introduction Sitecore/Solr Configuration Demo Website Searching Items Computed Fields Facets Autocomplete (Bonus) QA Thank you Copyright © Sequence Collective Ltd 2014 Contents

Chaptertitle Introduction Copyright © Sequence Collective Ltd 2014

1.Understand how Sitecore and Solr work together. 2.Implement the search for a demo car dealer website. 3.Customise Sitecore and Solr configurations to implement the search logic. 4.Discuss the best practices of implementing Solr search in Sitecore. Copyright © Sequence Collective Ltd 2014 What are we going to do today? Introduction

Chaptertitle Sitecore/Solr Configuration Copyright © Sequence Collective Ltd 2014

The Sitecore.ContentSearch.Solr.Indexes.config controls: What Sitecore fields/data types to index (schema-less by default) Computed fields (transform the data before being sent to Solr) Url of the Solr Server. Core names. Indexing strategy. What Can I Configure and Where? Sitecore/Solr Configuration Copyright © Sequence Collective Ltd 2014 Sitecore.ContentSearch.Solr.Indexes.config Schema.xml The Solr Schema.xml config file controls: How fields will be indexed. How fields will be queried.

Copyright © Sequence Collective Ltd 2014 Example (The Text – Dynamic Field) - Sitecore Sitecore/Solr Configuration title_t body_t

Copyright © Sequence Collective Ltd 2014 Example (The Text – Dynamic Field) - Solr Sitecore/Solr Configuration

Chaptertitle Awesome Cars Copyright © Sequence Collective Ltd 2014

Computed Fields Search Results Auto Complete Facets

A Simple LINQ query Copyright © Sequence Collective Ltd 2014 Searching Cars

The Search Entity Mapping Searching Cars Copyright © Sequence Collective Ltd 2014 Base Template Car Item Template

Chaptertitle Computed Fields Copyright © Sequence Collective Ltd 2014

Computed Fields Copyright © Sequence Collective Ltd 2014 Searching Cars Store additional information about Sitecore items in Solr such as Image Url What you need to do? Implement the IComputedIndexField interface Override the ComputeFieldValue method Update the Sitecore.ContentSearch.Solr.Indexes.config to use the computed field

Computed Fields Copyright © Sequence Collective Ltd 2014 Searching Cars Page url is not indexed by default. You will need to create a computed field to fix it.

Chaptertitle Search Query Copyright © Sequence Collective Ltd 2014

Search Query Copyright © Sequence Collective Ltd 2014 Searching Cars Search for: BMW title_t:(BMW) OR body_t:(BMW) Why not using string.Contains()?.Where(i => i.Title.Contains(searchQuery))

Search Query (using multiword queries) Copyright © Sequence Collective Ltd 2014 Searching Cars Search for: Black BMW Spaces = Exact matching !!! title_t:(“Black BMW”) OR body_t:(“Black BMW”) OR Quick workaround Will this work?

Search Query (Boosting) Copyright © Sequence Collective Ltd 2014 Searching Cars (title_t:(BMW))^5 OR (body_t:(BMW))^1

Chaptertitle Facets Copyright © Sequence Collective Ltd 2014

Facets Copyright © Sequence Collective Ltd 2014 Facets Use LINQ to specify the facets Use the SearchResults.Facets property to enumerate the facets Each facet object contains it’s name and the aggregate count Facet Category FacetValue.Name FacetValue.AggregateCount

Chaptertitle Auto-Complete (NGram) Copyright © Sequence Collective Ltd 2014

NGram Copyright © Sequence Collective Ltd 2014 Auto-Complete A way of converting text into smaller tokens. Min and max lengths are specified. For example the NGram(min=2, max=3) for the word “Awesome” is (aw, we, es, so, om, me, awe, wes, eso, ome) The search auto-complete is a typical application of using NGrams

Ngram – How to implement it in Sitecore? Copyright © Sequence Collective Ltd 2014 Auto-Complete Define a new field type in Solr that uses the solr.NGramTokenizerFactory. Create a new field in Solr using the new field type. Use the CopyField feature in Solr to copy the title filed into the new field. Map the new field to SearchResultItem class in Sitecore. Write a LINQ query to filter the results using the new field.

Chaptertitle Copyright © Sequence Collective Ltd 2014 Questions

Chaptertitle Dr. Ehab ElGindy Technical Team Lead Copyright © Sequence Collective Ltd Twitter: Thankyou