+ },
+ authors => {
+ map => q|
+function(doc) {
+ if ( doc.work.persons ) {
+ doc.work.persons.forEach( function(person) {
+ emit(person.surname+person.firstname ,
+ person
+ );
+ });
+ }
+ if ( doc.work.symposium_works ) {
+ doc.work.symposium_works.forEach( function(work) {
+ work.persons.forEach( function(person) {
+ emit(person.surname+person.firstname ,
+ person
+ );
+ });
+ });
+ }
+}
+ |,
+ },