I haven't used this myself, but from a quick glance at the SolrMarc code, it looks like this will cause a multi-valued return. Since VuFind currently expects only a single value in the title field, things could get complicated -- to use getLinkedFieldCombined for the primary title field, I think you would need to make several fields in the Solr schema multi-valued and edit all the templates that display the title field from Solr results to detect arrays and deal with them appropriately (or else some of your books would suddenly be titled "Array").
Honestly, I don't think the multi-valued title approach is worth the trouble. A better solution might be to create a secondary index for linked titles and create a new custom Java function based on getLinkedFieldCombined that returns only linked titles when they exist and nothing for "normal" titles. Then you just need to change templates to display linked titles in appropriate places when they exist, adjust search specifications to search the new linked title field, and you don't have to worry about the consequences of changing the existing title functionality.
With the RC2 release next week, the SolrMarc BeanShell scripting and searchspecs.yaml search configuration file should make these changes fairly simple. Please let me know if you need more details on anything.
- Demian
--
You received this message because you are subscribed to the Google Groups "solrmarc-tech" group.
To post to this group, send email to solrma...@googlegroups.com.
To unsubscribe from this group, send email to solrmarc-tec...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/solrmarc-tech?hl=en.