Search is Hard Work
We make it easy!
Optimizing the Sitecore Connector
Search is Hard Work
We make it easy!
Metadata mapping file
Copyright © 2010 Coveo Solutions Inc. - All rights reserved. Proprietary and CONFIDENTIAL. For INTERNAL USE ONLY.3
Mapping file
Sitecore items Coveo items
Common: settings apply to all items
(like title)
Benefit: You decide what and how to index Create better user-experience Additional PS work (customized to spec)
Copyright © 2010 Coveo Solutions Inc. - All rights reserved. Proprietary and CONFIDENTIAL. For INTERNAL USE ONLY.4
Mapping file
Sitecore items Coveo items
Mapping templateSpecific for each
item (Like Lenses, Focal length)
Copyright © 2010 Coveo Solutions Inc. - All rights reserved. Proprietary and CONFIDENTIAL. For INTERNAL USE ONLY.5
► How metadata is organized
Metadata, Mapping file
System metadata_CESSCID = {0A75DC08-97FB-4910-B0F2-0F07ECF0885B}_CESSCDisplayName = Book1_CESSCTemplateID = {AF0AD32B-8188-45E0-B354-5226F41D801B}_CESSCCreated = 20081203T111327_CESSCCreatedBy = sitecore\admin…
Content metadataTitle = My First BookYear = 2008Author = {04F66330-9005-4409-88B1-F003BA383FDA}Events = {AEA54C84-16A9-4994-8FBE-842F0D7C5D7E}|{CBDBBD1F-E344-45D6-9D3C-1499D7DCBCD4}Subjects = {697417CB-A02E-497D-A97C-1125924AEE22}|{4679089F-3522-4E70-BAA6-4A5D1F97B991}|{BFAA449F-52DB-4656-8F1B-D7B4C8C3AA5E}|{0E24BC5D-4CBA-4622-A883-D34890E68A37}
Copyright © 2010 Coveo Solutions Inc. - All rights reserved. Proprietary and CONFIDENTIAL. For INTERNAL USE ONLY.6
Metadata, Mapping file, Resolving References
► Resolving references - default
Author = SimardoEvents = Event1;Event3Subjects = Encarta;DaVinci;…
Copyright © 2010 Coveo Solutions Inc. - All rights reserved. Proprietary and CONFIDENTIAL. For INTERNAL USE ONLY.7
Metadata, Mapping file, Simple Mapping
► Simple mapping - %[<fieldname>]
%[Author.Lastname], %[Author.Firstname]
s, m
%[Author.Lastname.Name], %[Author.Firstname.Name]
Simard, Martin
Copyright © 2010 Coveo Solutions Inc. - All rights reserved. Proprietary and CONFIDENTIAL. For INTERNAL USE ONLY.8
► Group mapping – Additional examples%{Books.Events:%[Localization.Address],%[Localization.City],%[Localization.Country._CESSCKey]}
Pacific Resort,Honolulu,usa;Musée du Louvre,Paris,france; State Olympique,Montreal,canada; Salle Albert Rousseau,Quebec,canada
%{Books.Events:%[_CESSCDisplayName]}
Event1;Event2;Event3;Event4
%[Books.Events._CESSCDisplayName]
Event1;Event3;Event1;Event2;Event3;Event4
%{Books.Subjects|D37232E3-B8BB-4BFE-9866-A28E2AD59217|221CC748-F1D7-4AB7-A92A-79E5DF69354C|1FE4A64D-0A2B-45A5-BFA3-4BF86929DEC0:%[Text]}
Le code Da Vinci;Top Modèles;Start Trek spin-off;Too much fake romance there;Spock and all others;Le crime de l'Orient Express;Dix petits nègres
Metadata, Mapping file, Group Mapping Samples
Copyright © 2010 Coveo Solutions Inc. - All rights reserved. Proprietary and CONFIDENTIAL. For INTERNAL USE ONLY.9
► Sitecore developers can create their own resolvers
► Child metadata also contains parent metadata
Metadata
Blog item Title ItemID
Blog article _CESSCParentID.Title
Blog comment _CESSCParentID._CESSCParentID.Title
Copyright © 2010 Coveo Solutions Inc. - All rights reserved. Proprietary and CONFIDENTIAL. For INTERNAL USE ONLY.10
► 1:1 relation: <CoveoContributor>%[Contributor.Lastname], %[Contributor.Firstname]</CoveoContributor> </Fields> Smith Peter
► Multiple childs: <CoveoContributors>%{Contributor:%[Lastname], %[Firstname]}</CoveoContributors> </Fields> Smith Peter; Lewis John
► Product (1:N) Accessories (1:N ) Lenses (GUID: 8FAC8E12-7459-43F8-97E8-1BC6840B9226)
► Multiple childs with different templates: <CoveoLenses>%{Accessories|8FAC8E12-7459-43F8-97E8-1BC6840B9226:%[Title],%[Focal length]}</CoveoLenses > Zoom, 25-300mm;Fisheye, 17mm
Metadata examples
Copyright © 2010 Coveo Solutions Inc. - All rights reserved. Proprietary and CONFIDENTIAL. For INTERNAL USE ONLY.11
► Example
Metadata, Mapping file, Sample
Accessories contains childs MiscWith template ID A93FA2...From that template use the title
Top Related