I've already attempted to use the LNK modifier (see below), but it will return a collection (multiple values) most of the time, e.g.,
title = 245ab:LNK245ab
ERROR [SolrUpdate-8056114-8056114] (Indexer.java:464) - Error from server at http://localhost:8080/solr/biblio: ERROR: [doc=UIUdb.8056114] multiple values encountered for non multiValued field title: [Bi jiao jing xue., 比较经学.]
My goal is to concatenate all of the returned values into a single string. Is there a builtin modifier that can do this? I've also attempted to use 'join', but it, too, returns multiple values, e.g.,
title = 245ab:LNK245ab, join(" ")
ERROR [SolrUpdate-8056114-8056114] (Indexer.java:464) - Error from server at http://localhost:8080/solr/biblio: ERROR: [doc=UIUdb.8056114] multiple values encountered for non multiValued field title: [Bi jiao jing xue., 比较经学.]
I'm assuming that 'join' works on subfields only (joining the 245$a and 245$b with a space). Is there an analog to 'join' that will join multiple fields into one? It just seems like there must be a way to do this using a builtin feature that I'm not aware of. I was hoping I could do away without writing a custom method for 'title'.
If I do end up writing a custom method for 'title', can I call the getLinkedFieldCombined(fieldSpec) method ( https://github.com/solrmarc/solrmarc/wiki/Predefined-Custom-Methods ) from within my custom method? If so, how might I do this?
Thanks,
Chris