Hi,

I have a project with a Solr server, Search API and facetapi.
Have created Facet blocks on some of the fields of the Content Type that is indexed.
The problem is that I'm having is: the facet links that end with an 'e', don't have the e at the end.

I don't have this problem locally, all fine there, but it's all indexed in the database.
I have checked through the admin panel of my Solr server and I have discovered the values of these fields have been stored correctly in the Solr, with the 'e' at the end.
That's why I think the problem has something to do with facetapi.

One example: the Facet link should be "affiche" but it is "affich".
When I click it, I go to site_url/collectie/vlaams?f[0]=field_coll_drager%3Aaffich

But, I can also manually go to site_url/collectie/vlaams?f[0]=field_coll_drager%3Aaffiche
=> and that gives me the same results, only the facet "affich" is not displayed as been 'clicked'.

I have no clue what's going on here...
Any tips on locating the problem are more than welcome.

Thx in advance

Comments

cpliakas’s picture

Hi stijndmd.

Thanks for posting. My best guess is that Facet API is displaying the raw value in the search server, which is a stemmed value. Generally backend modules such as Search API provide a mapping capability where the value stored in the index is converted to a display value, but if the mapping callback isn't there or some configuration option I don't know about is set, then it the implementing module (e.g. Search API) will pass the raw value.

That is where I would start anyways,
Chris