Hello.
This issue depends from Search API SOLR and Search API FacetAPI. And I don`t where it should be created.
I find out that fields based on entities saved in SOLR as entity_id. but shown as Entity Label (function _search_api_facetapi_facet_create_label()).
So we make entity_load when showing facets but much better to use results from indexed data.
It should increase performance.
In case of solr server we can use Poly Field Types (http://wiki.apache.org/solr/SchemaXml) and index entity_id + entity_label (or even some + custom data)
I think Poly Field Types can be helpful not only for this issue. There are so many ways how to use it.
I just tried to share my idea. If it useful I can try to make some patch or so one.
Regards
Comments
Comment #1
legolasboThis issue has not seen activity in over 2,5 years. I am therefore closing this issue to clean up the issue queue. Feel free to re-open and update this issue if you feel this issue is still relevant and of importance.