AI OnAI Off
Optimizely support confirmed that this is not supported by Optimizely Find as of now. It returns "T" and "F" because of the Elasticsearch version Optimizely uses as of now.
So for the moment, we have to rely on a workaround for this.
Hi,
I need to get the Boolean values of a boolean property of content as as facet results.
However, instead of getting "true" or "false", I am getting the results as "T" and "F" (See the below sample code for more information).
Note: I do not like to map these "T" and "F" values to "true" and "false" later after fetching the results. Because when I add other facets, if those facets contain "T" or "F" values, then they will be misunderstood as Boolean values. And I do not like to create an additional string property for the content that mirrors the boolean value and use it for faceting.