Gravatar for

Question by qch1595, Mar 9, 2017 11:38 AM

Why Coveo removes dashes in the fid

When I check the fid returned by Coveo REST API, it shows
"fid56456" : "f2df3b52e03c4fbdbb96bd8f2be382ab", The Sitecore item id is "f2df3b52-e03c-4fbd-bb96-bd8f2be382ab", Why are these dashes removed?

1 Reply
Gravatar for

Answer by Dominic Berube, Mar 9, 2017 11:43 AM


Coveo removes the dashes from Guid fields because the value would be considered as multiple terms otherwise, like from spaces.

Gravatar for

Comment by qch1595, Mar 9, 2017 11:58 AM

Is there any way to restore the original GUID in the REST API results?

Gravatar for

Comment by Dominic Berube, Mar 9, 2017 12:59 PM

You should take a look at this article:

Gravatar for

Comment by Jean-François L'Heureux, Mar 9, 2017 1:00 PM

Create a computed index field storing the original value. See

Ask a question