Quantcast
Channel: Lucene, Nutch and Solr
Viewing all articles
Browse latest Browse all 45

Altering facets to use a different solr field

$
0
0

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.


Viewing all articles
Browse latest Browse all 45

Latest Images

Trending Articles





Latest Images