Altering facets to use a different solr field

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by the greenman on February 25, 2015 at 8:55pm

In order to build a cross site search system, we have created a centralised taxonomy that will be shared by a number of sites. When content is indexed, we index not only the tid, but also a shared global id for each term. Now, we are looking to integrate with the facetapi.

Is there a recommended way whereby we would override/enhance a standard taxonomy facet, so that, when interacting with solr, the tid field/value was swapped for the guid field/value? (Internally however we still want to be using tids so that all the mappings work.)

I have done a fair amount of exploring of the facetapi, and feel that it should be possible, but I'm not quite sure if I am looking in the right place.

I have now begun creating a new facet from scratch, but I can't help but feel there is an elegant solution somewhere.

Any guidance appreciated. Thank you.

Categories: , ,

Lucene, Nutch and Solr

Group organizers

Group categories

Projects

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /