ToCoveoFieldName and mystery fields
When I use ToCoveoFieldName in my layout I get a field @fcategory60016 however the 60016 number doesn't exist anywhere in my index. They are all 49491 (i.e. @fcategory49491). I can't figure out why the help resolves all of the fields to the 60016 number. Only thing I can think of is that I'm on a developer workstation hitting a remote Coveo front end. Is there some magic I need to do to make sure my field names are resolved correctly? Thanks!
The number at the end of the field names is computed using the
SourceName of your index. On your developer Sitecore instance, you should configure each index
<SourceName> node in the
Coveo.SearchProvider.config file to match the names of the CES sources that are already created on the remote CES server (see Changing the Name of Sources Created in the Coveo Index).
Check in the CES Administration Tool if the correct Field Set was assigned to your source (Index/Sources and Collections/Fields).