I have got Apache Solr working fine now, but I noticed CCK values are indexed, and not labels (in case of CCK dropdowns). For example, I have a CCK field "License" dropdown select like so:

GPL|GNU Public License
CCA|Creative Commons Attribute
etc.

Apache Solr faceted search lets me filter them by GPL, CCA. I'd like to see the full label instead of the value. Same for things like 1|Awesome, 2|Great. You get 1,2 as faceted filter, isntead of Awesome,Great.

Comments

Anonymous’s picture

Probably needs a little patch in apachesolr_node_to_document() in apachesolr.index.inc, ... here I see $value['value']. Can that be 'label' or is it more difficult than that?

robertdouglass’s picture

Status: Active » Closed (duplicate)

Note that this is fixed in DRUPAL-6--2 with #551582: Show value instead of key in CCK facets

Marking as duplicate. See referenced issue for news on possible backport.