Make a Sitecore Field Facetable
It’s also required if you want to use a Sitecore field in a query with a comparator different than
equals (such as
ends with) in the Rule Set Editor.
To configure a Sitecore field as facetable
Coveo.SearchProvider.Custom.configfile with a text editor.
fieldMap/fieldNamessection, add a new element like the following (you must replace
mysitecorefieldwith the name of the Sitecore field):
<fieldType fieldName="mysitecorefield" isFacet="true" settingType="Coveo.Framework.Configuration.FieldConfiguration, Coveo.Framework" />
fieldMap/fieldNameselement is located in the
defaultIndexConfigurationelement. Field settings defined in the
defaultIndexConfigurationelement are applied to all indexes that reference the
defaultIndexConfigurationelement. To apply field configurations on a specific index, see Manage Fields for a Specific Index.
Save your changes.
To synchronize these field settings changes into your search indexes, an indexing action must be performed. Alternatively, the
/coveo/api/index/v1/indexes/synchronizeAPI POST call can be used.
You can combine
isFacet with the other settings presented in this section.