I would like to be able to specify multiple subfields to index as a value in a field. The subfields must be concatenated. Example 1: Author in unimarc in an authority: 700 1 $a Bermès $b Emmanuelle I could record a fields in mappings: author: "700a. .700b" I would have in the field indexed: author: "Emmanuelle Bermès" Example 2: in mappings: author: "700b., .700a" would give: author "Bermès, Emmanuelle" With solr, we managed it with indexing plugins. If it is too early for this, we could manage it in mappings configuration maybe.
Might also be interesting for other use cases. Maybe a full title for sorting? MARC21: 245$a$b$n$p
We just learned the hard way we will also need this :).
Any thoughts here about creating an index plugin system: Currently we use Catmendu::* libraries to transform data. If i'm not wrong, we only can do that by using "Fixes" (a fix language) like: marc_map(245ac, title) We give these fixes at Catemdu that process the job itself. This means that plugins should be written with this fix language too. A second thing: there is a work on bug 19893 to replace these libraries and create some koha-specific code. So the plugin system should be designed differently in this case.
You should be able to concatenate the search fields (e.g. 245a$b$n as bug 19893 is now pushed to master. However, I don't think it supports adding commas between the MARC fields.
Just tried in master : concatenation works fine using parenthesis : 700(ab)
(In reply to Séverine Queune from comment #5) > Just tried in master : concatenation works fine using parenthesis : 700(ab) Hi Claire, does this solve the problem?
I think yes, thank you.