Project

General

Profile

« Previous | Next » 

Revision 58220

Added publisher field

View differences:

modules/dnet-mapreduce-jobs/trunk/src/main/java/eu/dnetlib/data/mapreduce/hbase/dataimport/DOIBoostToActions.java
417 417
				}
418 418
		);
419 419

  
420
		//Adding Journal
420
		//Adding Journal and publisher
421
		//TODO: name of the journal is not the publisher: this needs to be fixed on DOIBoost side
421 422

  
422 423
		if (StringUtils.isNotBlank(publisher)) {
423

  
424
			metadata.setPublisher(FieldTypeProtos.StringField.newBuilder().setValue(publisher).build());
424 425
			final FieldTypeProtos.Journal.Builder journal = FieldTypeProtos.Journal.newBuilder().setName(publisher);
425 426

  
426 427
			if (hasJSONArrayField(rootElement, "issn")) {

Also available in: Unified diff