forked from D-Net/dnet-hadoop
[Graph DUMP] Filtering out from the originalIds the id of the result in OpenAIRE
This commit is contained in:
parent
c10ff6928c
commit
a22c29fba1
|
@ -133,7 +133,7 @@ public class ResultMapper implements Serializable {
|
||||||
.ifPresent(value -> value.stream().forEach(f -> formatList.add(f.getValue())));
|
.ifPresent(value -> value.stream().forEach(f -> formatList.add(f.getValue())));
|
||||||
out.setFormat(formatList);
|
out.setFormat(formatList);
|
||||||
out.setId(input.getId());
|
out.setId(input.getId());
|
||||||
out.setOriginalId(input.getOriginalId());
|
out.setOriginalId(input.getOriginalId().stream().filter(s -> !s.startsWith("50|")).collect(Collectors.toList()));
|
||||||
|
|
||||||
Optional<List<eu.dnetlib.dhp.schema.oaf.Instance>> oInst = Optional
|
Optional<List<eu.dnetlib.dhp.schema.oaf.Instance>> oInst = Optional
|
||||||
.ofNullable(input.getInstance());
|
.ofNullable(input.getInstance());
|
||||||
|
|
Loading…
Reference in New Issue