forked from D-Net/dnet-hadoop
fixed serialization for datasource subjects
This commit is contained in:
parent
ccb153de78
commit
0e95544495
|
@ -463,7 +463,7 @@ public class XmlRecordFactory implements Serializable {
|
|||
if (ds.getSubjects() != null) {
|
||||
metadata.addAll(ds.getSubjects()
|
||||
.stream()
|
||||
.map(sp -> mapStructuredProperty("subject", sp))
|
||||
.map(sp -> mapStructuredProperty("subjects", sp))
|
||||
.collect(Collectors.toList()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue