Field not showing up in coveo range facet dropdown options
Hi, I've defined a new facet "My Display Date" in /sitecore/system/Settings/Buckets/Facets but it does not show up in the Field dropdown when I try to update/add a Coveo Range Facet View. I can see the other fields in the dropdown but not the new field.
This is how it goes in my coveo config:
<fieldType fieldName="my_display-date" isFacet="true" isExternal="true" isSortable="true" includeForFreeTextSearch="false" isMultiValue="false" settingType="Coveo.Framework.Configuration.FieldConfiguration, Coveo.Framework" /> :<br>: <field fieldName="my_display-date" returnType="datetime">MyProject.namespace.web.computedfield, MyProject.namespace.web</field>
Checked the coveo admin tool and I verified the my_display-date is of type datetime and the Facet column is ticked, rebuilt the coveo indexes many times, and checked the field Field for incorrect field name spelling.
Is there anything else I could have missed?
Sitecore 9, Coveo V4.1, still using Legacy UI.
Any answer would be appreciated.
To solved this issue what we did is to deviate from using the computed field approach and just use the the field configuration below:
<fieldType fieldName="date" isFacet="true" isSortable="true" settingType="Coveo.Framework.Configuration.FieldConfiguration, Coveo.Framework"/>
Any item I created in /sitecore/system/Settings/Buckets/Facets that uses the field name above appears in the dropdown selection.