<div dir="ltr">Thanks,<div>sounds good, I've no idea on how to apply it but I'he a path to follow.</div><div><br></div><div>A.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-06-21 13:07 GMT+02:00 Yuri <span dir="ltr"><<a href="mailto:yurj@alfa.it" target="_blank">yurj@alfa.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
<br>
you can always make your own <a href="http://oai2_custom.pl" rel="noreferrer" target="_blank">oai2_custom.pl</a>. If the set is "openaire",<br>
then you can do two searches with different filters and merge the<br>
results. Or create the openaire entry in the custom set and then use<br>
satiisfy_all as paramenter in search:<br>
<br>
<a href="https://fossies.org/linux/eprints/perl_lib/EPrints/Search.pm" rel="noreferrer" target="_blank">https://fossies.org/linux/<wbr>eprints/perl_lib/EPrints/<wbr>Search.pm</a><br>
<br>
I think that it is the default, so adding more filters should lead to an<br>
OR between them.<br>
<span class=""><br>
Il 21/06/2017 12:36, Alfredo Cosco ha scritto:<br>
> Hello,<br>
> I'm trying to reach a complete compliance for Openaire specs 3.0.<br>
><br>
> Now the problem is:<br>
> in<br>
</span>> myarchive/cfg/cfg.d/<a href="http://oai.pl" rel="noreferrer" target="_blank">oai.pl</a> <<a href="http://oai.pl" rel="noreferrer" target="_blank">http://oai.pl</a>><br>
<span class="">><br>
> we have a default eprints dataset called Driver where you can find all<br>
> Open Access records<br>
><br>
> The plugin on github creates a new dataset for European Community<br>
> funded resources.<br>
><br>
> <a href="https://github.com/eprintsug/openaire-compliance" rel="noreferrer" target="_blank">https://github.com/eprintsug/<wbr>openaire-compliance</a><br>
><br>
> if(defined $c->{oai}->{custom_sets})<br>
> { @{ $c->{oai}->{custom_sets} } = (@{ $c->{oai}->{custom_sets} }, (<br>
> {<br>
> spec => "ec_fundedresources",<br>
> name => "EC_fundedresources",<br>
> filters => [ { meta_fields => ["eu_project" ], value => "yes", }, ]<br>
> }, ));<br>
> }<br>
><br>
</span>> Now I need to add a new dataset, called *openaire*, that contains:<br>
<span class="">> - all open access papers<br>
> - all eu_project papers no matter for the access rights<br>
><br>
> So, is it possible to make a filter that sums the results or is there<br>
> a way to merge the two datasets?<br>
><br>
> Thanks,<br>
> Alfredo<br>
><br>
><br>
</span>> *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/eprints-<wbr>tech</a><br>
> *** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.<wbr>php/</a><br>
> *** EPrints community wiki: <a href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
> *** EPrints developers Forum: <a href="http://forum.eprints.org/" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
<br>
*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/eprints-<wbr>tech</a><br>
*** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.<wbr>php/</a><br>
*** EPrints community wiki: <a href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a href="http://forum.eprints.org/" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
</blockquote></div><br></div>