SlideShare a Scribd company logo
1 of 36
Problem SolvingWith
Coveo
Deepthi Katta
Technical Lead,Verndale | @DipSindol
• Quick Intro to Coveo
• Problem Solving
• DebuggingTools
• Coveo for Sitecore is an integration to Coveo’s full fledged search engine
• It is accessible directly in Sitecore’s control panel
• It enables control over what gets indexed and how
• Allows for building Coveo based search views out of the box
• Interested to learn more?Visit their website and documentation
AQuick Intro
#1 - Data
• Definitely don’t want content author entering these fields multiple times
to avoid excessive duplication in parent/child relationships
• Don’t want to load these relationships on client side as well (which would
be expensive)
• Answer: Computed Fields and MultiValued Computed Fields
Battlethe HierarchicalData
#2 –Slider on Multi
Valued Number Field
• We have seen how computed fields and multi-value fields could serve lot of
complex use-cases
• A typical facet slider would work on only one field either traditional sitecore or
computed field which is of type number/integer
• Our requirement is unique per Coveo team where we need a slider that spans
across two fields on the same template (multi-valued number field)
• Solution –Think outside of what Coveo provides OOTB
MultiValuedNumber Field– FacetSlider
• Facet Slider auto generates minimum and maximum, but, we can choose to turn this
off.
• We have custom logic that computes minimum and maximum and assigns it to the
facet slider component on the coveo search view on afterComponentsInitialization
event
• Next, we need to instruct Coveo Facet Slider to cater to more than one field when the
values are changed
• To do this, first we add a Facet Slider based on one of the fields of our interest on the
template– say Maximum Neighborhood Price and then use advanced expressions to
mimic the second filter
Solution
#3 –Sorting
• Basic sorting on a field in a Coveo Rendering or SearchView on
Sitecore Field
• Sorting inTabbed Results
• Using Javascript instead of rendering properties
• Custom Sorting
CoveoSortingOptions
 Most simple type of sorting
 First – decide on the Sitecore field you want to sort the results on
• Note – Not all Coveo fields are sortable, for example a string field is not by default
• If the field is not sortable – Make it sortable by simple configuration changes
 Define three simple fields available on rendering and you are good to go
• Default SortType
• Default Direction
• Default Sort Field - (Workaround on few versions of Coveo– use GUID instead of
search box pick)
 You are done!!!
BasicSitecoreFieldSorting–Coveo Rendering
 Crucial Step – Need to add a Coveo Sort Component to the presentation with same
settings as your default picks for sorting on SearchView rendering.
• You are done!!!
TabResultsSorting
 Another way of doing what we did
 Options are always good. 
• You are done!!!
JavaScriptSorting
 Not frequently used as others
 Will need this option if the default behavior is not working for your specific use case
 Caution against using it if your field is auto computed from a Sitecore field that is
content authored or is not a definitive set of values
 Use of special attribute on the sort view – “data-custom-sort”
 Example Scenario – Say you don’t like the way Coveo groups selected values on the
top when selected values are chosen via URL. Simply override it using custom sort.
CustomSorting
#4 – Related Items
• Often forgotten or ignored. Will come back and haunt post live. 
• Scenarios –You have computed fields which inherit data in from parent or child of a
particular item
• You need to explicitly tell Coveo that you wish to re-index ancestor or child of an item
when an item falls in the delta of items to be indexed when indexing process of Coveo
is triggered. A workflow specific approval on an item?
• Easy to do so, patch to “CoveoItemProcessingPipeline” and implement process
method to force Coveo to do something extra.
• Add additional items you need to “outputitems” collection
• Add this new processor to yourCustom Coveo configuration file
• Test this thoroughly and ensure nothing that you did not expect do not get added and
re-indexed.
How to tellCoveo what to Index
#4 – RelatedQuery
Component
• Scenarios - I am on the same custom coveo view and on another portion on the view
or for internal logic I need the same query to run, but, with subtle changes/additional
query parameters.
• Could run in to this situation quite often. Say, you have a component on your view
that need to parse over the whole result set, not just paged results that Coveo returns
on the match?
• Look in to Related Query Component if you want this little piece visible on your UI
• On the other side, you want this for internal computation only, then try this
Whatif I wantdifferentfilterson samequery?
#4 –Coveo onAuth
SitecoreURL
• If your project uses plain old Coveo renderings and does not use Coveo Indexes from
Sitecore content search, you can choose to add another IIS site on CD server and
point that to the same site. Use this URL (internally open and no auth) to manage
yourCoveo indexes.
• If your project accesses Coveo indexes from code and content search - #1 will not
work work and will cause 500 (Coveo rest end to pull index will error due to 401 again).
In this case, you have two options:
• Disable IIS basic auth and use IP whitelisting for security instead, if your infrastructure
thinks this is a possibility.
• Keep IIS Authentication enabled on all folders of the Sitecore instance except
WebsiteCoveorest.
What are my options?
DebuggingOOTB
CESAdminstration
Tool
Browse through your indexes, you can even rebuild, do a
full refresh, see activity log
Index browser is very handy to see what is the actual
data indexed on an item
Cross check your query directly on the index
browser
CESConsole
See what Coveo is doing behind the scenes when a query is fired through a
search component
Chrome Developer
Tools
See the form data. Parameters passed on the request
See the calls, look at results. This will give insight on to
why you are having issues, if any
SitecoreControl
Panel
Rebuild your indexes or check/update coveo search account
configuration
Diagnostic Page – Check to ensure all coveo components are up and
running. Green is always good sign
Questions?
Thank you!
https://www.unravelsitecore.com
Deepthi.katta@Verndale.com

More Related Content

Similar to Sugblr problem solving coveo

Sitecore development approach evolution – destination helix
Sitecore development approach evolution – destination helixSitecore development approach evolution – destination helix
Sitecore development approach evolution – destination helixPeter Nazarov
 
JSLink for ITPros - SharePoint Saturday Jersey
JSLink for ITPros - SharePoint Saturday JerseyJSLink for ITPros - SharePoint Saturday Jersey
JSLink for ITPros - SharePoint Saturday JerseyPaul Hunt
 
SPSNL17 - Implementing SharePoint hybrid search, start to finish - Thomas Voc...
SPSNL17 - Implementing SharePoint hybrid search, start to finish - Thomas Voc...SPSNL17 - Implementing SharePoint hybrid search, start to finish - Thomas Voc...
SPSNL17 - Implementing SharePoint hybrid search, start to finish - Thomas Voc...DIWUG
 
Acquia Drupal Certification
Acquia Drupal CertificationAcquia Drupal Certification
Acquia Drupal CertificationPhilip Norton
 
Quick Wins to Jump Start Your SharePoint Implementation - SPEngage Raleigh 2016
Quick Wins to Jump Start Your SharePoint Implementation - SPEngage Raleigh 2016Quick Wins to Jump Start Your SharePoint Implementation - SPEngage Raleigh 2016
Quick Wins to Jump Start Your SharePoint Implementation - SPEngage Raleigh 2016Jim Adcock
 
Grails patterns and practices
Grails patterns and practicesGrails patterns and practices
Grails patterns and practicespaulbowler
 
Nsc 2013 06-17 - random rants on 2013
Nsc 2013 06-17 - random rants on 2013Nsc 2013 06-17 - random rants on 2013
Nsc 2013 06-17 - random rants on 2013Mikael Svenson
 
How to use selenium successfully
How to use selenium successfullyHow to use selenium successfully
How to use selenium successfullyTEST Huddle
 
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...BIWUG
 
Creating a Great XPages User Interface
Creating a Great XPages User InterfaceCreating a Great XPages User Interface
Creating a Great XPages User InterfaceTeamstudio
 
Creating a Great XPages User Interface, TLCC Teamstudio Webinar - Feb, 2014
Creating a Great XPages User Interface, TLCC Teamstudio Webinar - Feb, 2014Creating a Great XPages User Interface, TLCC Teamstudio Webinar - Feb, 2014
Creating a Great XPages User Interface, TLCC Teamstudio Webinar - Feb, 2014Howard Greenberg
 
7 steps to simplifying your AI workflows
7 steps to simplifying your AI workflows7 steps to simplifying your AI workflows
7 steps to simplifying your AI workflowsWisecube AI
 
CUST-2 New Client Configuration & Extension Points in Share
CUST-2 New Client Configuration & Extension Points in ShareCUST-2 New Client Configuration & Extension Points in Share
CUST-2 New Client Configuration & Extension Points in ShareAlfresco Software
 
Staging and Deployment
Staging and DeploymentStaging and Deployment
Staging and Deploymentheyrocker
 
Products and Categories
Products and CategoriesProducts and Categories
Products and CategoriesMuhammad Sajid
 
Improving the Quality of Existing Software
Improving the Quality of Existing SoftwareImproving the Quality of Existing Software
Improving the Quality of Existing SoftwareSteven Smith
 
Mastering Test Automation: How to Use Selenium Successfully
Mastering Test Automation: How to Use Selenium Successfully Mastering Test Automation: How to Use Selenium Successfully
Mastering Test Automation: How to Use Selenium Successfully Applitools
 
How To Use Selenium Successfully
How To Use Selenium SuccessfullyHow To Use Selenium Successfully
How To Use Selenium SuccessfullyDave Haeffner
 

Similar to Sugblr problem solving coveo (20)

Sitecore mvc
Sitecore mvcSitecore mvc
Sitecore mvc
 
Sitecore development approach evolution – destination helix
Sitecore development approach evolution – destination helixSitecore development approach evolution – destination helix
Sitecore development approach evolution – destination helix
 
JSLink for ITPros - SharePoint Saturday Jersey
JSLink for ITPros - SharePoint Saturday JerseyJSLink for ITPros - SharePoint Saturday Jersey
JSLink for ITPros - SharePoint Saturday Jersey
 
SPSNL17 - Implementing SharePoint hybrid search, start to finish - Thomas Voc...
SPSNL17 - Implementing SharePoint hybrid search, start to finish - Thomas Voc...SPSNL17 - Implementing SharePoint hybrid search, start to finish - Thomas Voc...
SPSNL17 - Implementing SharePoint hybrid search, start to finish - Thomas Voc...
 
Acquia Drupal Certification
Acquia Drupal CertificationAcquia Drupal Certification
Acquia Drupal Certification
 
Quick Wins to Jump Start Your SharePoint Implementation - SPEngage Raleigh 2016
Quick Wins to Jump Start Your SharePoint Implementation - SPEngage Raleigh 2016Quick Wins to Jump Start Your SharePoint Implementation - SPEngage Raleigh 2016
Quick Wins to Jump Start Your SharePoint Implementation - SPEngage Raleigh 2016
 
Grails patterns and practices
Grails patterns and practicesGrails patterns and practices
Grails patterns and practices
 
Nsc 2013 06-17 - random rants on 2013
Nsc 2013 06-17 - random rants on 2013Nsc 2013 06-17 - random rants on 2013
Nsc 2013 06-17 - random rants on 2013
 
How to use selenium successfully
How to use selenium successfullyHow to use selenium successfully
How to use selenium successfully
 
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
 
Creating a Great XPages User Interface
Creating a Great XPages User InterfaceCreating a Great XPages User Interface
Creating a Great XPages User Interface
 
Creating a Great XPages User Interface, TLCC Teamstudio Webinar - Feb, 2014
Creating a Great XPages User Interface, TLCC Teamstudio Webinar - Feb, 2014Creating a Great XPages User Interface, TLCC Teamstudio Webinar - Feb, 2014
Creating a Great XPages User Interface, TLCC Teamstudio Webinar - Feb, 2014
 
LDV.pptx
LDV.pptxLDV.pptx
LDV.pptx
 
7 steps to simplifying your AI workflows
7 steps to simplifying your AI workflows7 steps to simplifying your AI workflows
7 steps to simplifying your AI workflows
 
CUST-2 New Client Configuration & Extension Points in Share
CUST-2 New Client Configuration & Extension Points in ShareCUST-2 New Client Configuration & Extension Points in Share
CUST-2 New Client Configuration & Extension Points in Share
 
Staging and Deployment
Staging and DeploymentStaging and Deployment
Staging and Deployment
 
Products and Categories
Products and CategoriesProducts and Categories
Products and Categories
 
Improving the Quality of Existing Software
Improving the Quality of Existing SoftwareImproving the Quality of Existing Software
Improving the Quality of Existing Software
 
Mastering Test Automation: How to Use Selenium Successfully
Mastering Test Automation: How to Use Selenium Successfully Mastering Test Automation: How to Use Selenium Successfully
Mastering Test Automation: How to Use Selenium Successfully
 
How To Use Selenium Successfully
How To Use Selenium SuccessfullyHow To Use Selenium Successfully
How To Use Selenium Successfully
 

More from Anindita Bhattacharya

SUG Bangalore - Extending Sitecore Experience Commerce 9 Business Tools
SUG Bangalore - Extending Sitecore Experience Commerce 9 Business ToolsSUG Bangalore - Extending Sitecore Experience Commerce 9 Business Tools
SUG Bangalore - Extending Sitecore Experience Commerce 9 Business ToolsAnindita Bhattacharya
 
Sug bangalore - sitecore solr nuggets
Sug bangalore - sitecore solr nuggetsSug bangalore - sitecore solr nuggets
Sug bangalore - sitecore solr nuggetsAnindita Bhattacharya
 
Sug bangalore - sitecore commerce introduction
Sug bangalore - sitecore commerce introductionSug bangalore - sitecore commerce introduction
Sug bangalore - sitecore commerce introductionAnindita Bhattacharya
 
SUG Bangalore - WFFM Customizations with Sanjay Singh
SUG Bangalore - WFFM Customizations with Sanjay SinghSUG Bangalore - WFFM Customizations with Sanjay Singh
SUG Bangalore - WFFM Customizations with Sanjay SinghAnindita Bhattacharya
 
SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...
SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...
SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...Anindita Bhattacharya
 
SUG Bangalore - Decoding DXF with Prasath Panneer Chelvam
SUG Bangalore - Decoding DXF with Prasath Panneer ChelvamSUG Bangalore - Decoding DXF with Prasath Panneer Chelvam
SUG Bangalore - Decoding DXF with Prasath Panneer ChelvamAnindita Bhattacharya
 
SUG Bangalore - Marketing Automation by Aji Viswanadhan
SUG Bangalore - Marketing Automation by Aji ViswanadhanSUG Bangalore - Marketing Automation by Aji Viswanadhan
SUG Bangalore - Marketing Automation by Aji ViswanadhanAnindita Bhattacharya
 
SUG Bangalore - Sitecore EXM with Jisha Muthuswamy
SUG Bangalore - Sitecore EXM with Jisha MuthuswamySUG Bangalore - Sitecore EXM with Jisha Muthuswamy
SUG Bangalore - Sitecore EXM with Jisha MuthuswamyAnindita Bhattacharya
 
Sugblr sitecore search - absolute basics
Sugblr sitecore search - absolute basicsSugblr sitecore search - absolute basics
Sugblr sitecore search - absolute basicsAnindita Bhattacharya
 
Sugblr deep dive data exchange framework with sitecore
Sugblr deep dive data exchange framework with sitecoreSugblr deep dive data exchange framework with sitecore
Sugblr deep dive data exchange framework with sitecoreAnindita Bhattacharya
 
What's new in Sitecore 9 by Kamruz Jaman
What's new in Sitecore 9 by Kamruz JamanWhat's new in Sitecore 9 by Kamruz Jaman
What's new in Sitecore 9 by Kamruz JamanAnindita Bhattacharya
 
Machine Learning with Microsoft by Nalin Mujumdar
Machine Learning with Microsoft by Nalin MujumdarMachine Learning with Microsoft by Nalin Mujumdar
Machine Learning with Microsoft by Nalin MujumdarAnindita Bhattacharya
 
Let's explore Helix by Gopikrishna Gujjula
Let's explore Helix by Gopikrishna GujjulaLet's explore Helix by Gopikrishna Gujjula
Let's explore Helix by Gopikrishna GujjulaAnindita Bhattacharya
 
Sitecore with Azure AD and Multifactor Authentication
Sitecore with Azure AD and Multifactor AuthenticationSitecore with Azure AD and Multifactor Authentication
Sitecore with Azure AD and Multifactor AuthenticationAnindita Bhattacharya
 
SUGBLR - Salesforce Integration with Sitecore
SUGBLR - Salesforce Integration with SitecoreSUGBLR - Salesforce Integration with Sitecore
SUGBLR - Salesforce Integration with SitecoreAnindita Bhattacharya
 
SUGBLR - Dependency injection in sitecore
SUGBLR - Dependency injection in sitecoreSUGBLR - Dependency injection in sitecore
SUGBLR - Dependency injection in sitecoreAnindita Bhattacharya
 
SUGBLR - Explore working with mongo db in Sitecore
SUGBLR - Explore working with mongo db in SitecoreSUGBLR - Explore working with mongo db in Sitecore
SUGBLR - Explore working with mongo db in SitecoreAnindita Bhattacharya
 

More from Anindita Bhattacharya (20)

SUG Bangalore - Extending Sitecore Experience Commerce 9 Business Tools
SUG Bangalore - Extending Sitecore Experience Commerce 9 Business ToolsSUG Bangalore - Extending Sitecore Experience Commerce 9 Business Tools
SUG Bangalore - Extending Sitecore Experience Commerce 9 Business Tools
 
Sug bangalore - headless jss
Sug bangalore - headless jssSug bangalore - headless jss
Sug bangalore - headless jss
 
Sug bangalore - sitecore solr nuggets
Sug bangalore - sitecore solr nuggetsSug bangalore - sitecore solr nuggets
Sug bangalore - sitecore solr nuggets
 
Sug bangalore - sitecore commerce introduction
Sug bangalore - sitecore commerce introductionSug bangalore - sitecore commerce introduction
Sug bangalore - sitecore commerce introduction
 
SUG Bangalore - WFFM Customizations with Sanjay Singh
SUG Bangalore - WFFM Customizations with Sanjay SinghSUG Bangalore - WFFM Customizations with Sanjay Singh
SUG Bangalore - WFFM Customizations with Sanjay Singh
 
SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...
SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...
SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...
 
SUG Bangalore - Decoding DXF with Prasath Panneer Chelvam
SUG Bangalore - Decoding DXF with Prasath Panneer ChelvamSUG Bangalore - Decoding DXF with Prasath Panneer Chelvam
SUG Bangalore - Decoding DXF with Prasath Panneer Chelvam
 
SUG Bangalore - Marketing Automation by Aji Viswanadhan
SUG Bangalore - Marketing Automation by Aji ViswanadhanSUG Bangalore - Marketing Automation by Aji Viswanadhan
SUG Bangalore - Marketing Automation by Aji Viswanadhan
 
SUG Bangalore - Sitecore EXM with Jisha Muthuswamy
SUG Bangalore - Sitecore EXM with Jisha MuthuswamySUG Bangalore - Sitecore EXM with Jisha Muthuswamy
SUG Bangalore - Sitecore EXM with Jisha Muthuswamy
 
Sugblr sitecore search - absolute basics
Sugblr sitecore search - absolute basicsSugblr sitecore search - absolute basics
Sugblr sitecore search - absolute basics
 
Sugblr deep dive data exchange framework with sitecore
Sugblr deep dive data exchange framework with sitecoreSugblr deep dive data exchange framework with sitecore
Sugblr deep dive data exchange framework with sitecore
 
Sugblr sitecore forms
Sugblr sitecore formsSugblr sitecore forms
Sugblr sitecore forms
 
What's new in Sitecore 9 by Kamruz Jaman
What's new in Sitecore 9 by Kamruz JamanWhat's new in Sitecore 9 by Kamruz Jaman
What's new in Sitecore 9 by Kamruz Jaman
 
Machine Learning with Microsoft by Nalin Mujumdar
Machine Learning with Microsoft by Nalin MujumdarMachine Learning with Microsoft by Nalin Mujumdar
Machine Learning with Microsoft by Nalin Mujumdar
 
Let's explore Helix by Gopikrishna Gujjula
Let's explore Helix by Gopikrishna GujjulaLet's explore Helix by Gopikrishna Gujjula
Let's explore Helix by Gopikrishna Gujjula
 
Sitecore with Azure AD and Multifactor Authentication
Sitecore with Azure AD and Multifactor AuthenticationSitecore with Azure AD and Multifactor Authentication
Sitecore with Azure AD and Multifactor Authentication
 
Sitecore Goals – Why, What & How
Sitecore Goals – Why, What & HowSitecore Goals – Why, What & How
Sitecore Goals – Why, What & How
 
SUGBLR - Salesforce Integration with Sitecore
SUGBLR - Salesforce Integration with SitecoreSUGBLR - Salesforce Integration with Sitecore
SUGBLR - Salesforce Integration with Sitecore
 
SUGBLR - Dependency injection in sitecore
SUGBLR - Dependency injection in sitecoreSUGBLR - Dependency injection in sitecore
SUGBLR - Dependency injection in sitecore
 
SUGBLR - Explore working with mongo db in Sitecore
SUGBLR - Explore working with mongo db in SitecoreSUGBLR - Explore working with mongo db in Sitecore
SUGBLR - Explore working with mongo db in Sitecore
 

Recently uploaded

[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
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
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
 

Recently uploaded (20)

[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
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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
 

Sugblr problem solving coveo

  • 2. • Quick Intro to Coveo • Problem Solving • DebuggingTools
  • 3. • Coveo for Sitecore is an integration to Coveo’s full fledged search engine • It is accessible directly in Sitecore’s control panel • It enables control over what gets indexed and how • Allows for building Coveo based search views out of the box • Interested to learn more?Visit their website and documentation AQuick Intro
  • 5. • Definitely don’t want content author entering these fields multiple times to avoid excessive duplication in parent/child relationships • Don’t want to load these relationships on client side as well (which would be expensive) • Answer: Computed Fields and MultiValued Computed Fields Battlethe HierarchicalData
  • 6. #2 –Slider on Multi Valued Number Field
  • 7. • We have seen how computed fields and multi-value fields could serve lot of complex use-cases • A typical facet slider would work on only one field either traditional sitecore or computed field which is of type number/integer • Our requirement is unique per Coveo team where we need a slider that spans across two fields on the same template (multi-valued number field) • Solution –Think outside of what Coveo provides OOTB MultiValuedNumber Field– FacetSlider
  • 8. • Facet Slider auto generates minimum and maximum, but, we can choose to turn this off. • We have custom logic that computes minimum and maximum and assigns it to the facet slider component on the coveo search view on afterComponentsInitialization event • Next, we need to instruct Coveo Facet Slider to cater to more than one field when the values are changed • To do this, first we add a Facet Slider based on one of the fields of our interest on the template– say Maximum Neighborhood Price and then use advanced expressions to mimic the second filter Solution
  • 10. • Basic sorting on a field in a Coveo Rendering or SearchView on Sitecore Field • Sorting inTabbed Results • Using Javascript instead of rendering properties • Custom Sorting CoveoSortingOptions
  • 11.  Most simple type of sorting  First – decide on the Sitecore field you want to sort the results on • Note – Not all Coveo fields are sortable, for example a string field is not by default • If the field is not sortable – Make it sortable by simple configuration changes  Define three simple fields available on rendering and you are good to go • Default SortType • Default Direction • Default Sort Field - (Workaround on few versions of Coveo– use GUID instead of search box pick)  You are done!!! BasicSitecoreFieldSorting–Coveo Rendering
  • 12.  Crucial Step – Need to add a Coveo Sort Component to the presentation with same settings as your default picks for sorting on SearchView rendering. • You are done!!! TabResultsSorting
  • 13.  Another way of doing what we did  Options are always good.  • You are done!!! JavaScriptSorting
  • 14.  Not frequently used as others  Will need this option if the default behavior is not working for your specific use case  Caution against using it if your field is auto computed from a Sitecore field that is content authored or is not a definitive set of values  Use of special attribute on the sort view – “data-custom-sort”  Example Scenario – Say you don’t like the way Coveo groups selected values on the top when selected values are chosen via URL. Simply override it using custom sort. CustomSorting
  • 15. #4 – Related Items
  • 16. • Often forgotten or ignored. Will come back and haunt post live.  • Scenarios –You have computed fields which inherit data in from parent or child of a particular item • You need to explicitly tell Coveo that you wish to re-index ancestor or child of an item when an item falls in the delta of items to be indexed when indexing process of Coveo is triggered. A workflow specific approval on an item? • Easy to do so, patch to “CoveoItemProcessingPipeline” and implement process method to force Coveo to do something extra. • Add additional items you need to “outputitems” collection • Add this new processor to yourCustom Coveo configuration file • Test this thoroughly and ensure nothing that you did not expect do not get added and re-indexed. How to tellCoveo what to Index
  • 18. • Scenarios - I am on the same custom coveo view and on another portion on the view or for internal logic I need the same query to run, but, with subtle changes/additional query parameters. • Could run in to this situation quite often. Say, you have a component on your view that need to parse over the whole result set, not just paged results that Coveo returns on the match? • Look in to Related Query Component if you want this little piece visible on your UI • On the other side, you want this for internal computation only, then try this Whatif I wantdifferentfilterson samequery?
  • 19.
  • 21. • If your project uses plain old Coveo renderings and does not use Coveo Indexes from Sitecore content search, you can choose to add another IIS site on CD server and point that to the same site. Use this URL (internally open and no auth) to manage yourCoveo indexes. • If your project accesses Coveo indexes from code and content search - #1 will not work work and will cause 500 (Coveo rest end to pull index will error due to 401 again). In this case, you have two options: • Disable IIS basic auth and use IP whitelisting for security instead, if your infrastructure thinks this is a possibility. • Keep IIS Authentication enabled on all folders of the Sitecore instance except WebsiteCoveorest. What are my options?
  • 24. Browse through your indexes, you can even rebuild, do a full refresh, see activity log
  • 25. Index browser is very handy to see what is the actual data indexed on an item
  • 26. Cross check your query directly on the index browser
  • 28. See what Coveo is doing behind the scenes when a query is fired through a search component
  • 30. See the form data. Parameters passed on the request
  • 31. See the calls, look at results. This will give insight on to why you are having issues, if any
  • 33. Rebuild your indexes or check/update coveo search account configuration
  • 34. Diagnostic Page – Check to ensure all coveo components are up and running. Green is always good sign

Editor's Notes

  1. Like any other third party tool – this is not one shop stop for all projects that you might have. It has to picked based on business needs and should be tailored accordingly.
  2. Like any other third party tool – this is not one shop stop for all projects that you might have. It has to picked based on business needs and should be tailored accordingly.
  3. If you missed any of that, there’s an accompanying blog post, summarising our 8 tips to writing a winning Experience Award submission, in the link below this video. Best of luck to all our 2016 Sitecore Experience Award entrants—and remember, the deadline for submissions is January 31, 2017, so get started on your submission today! Good luck!