<div dir="ltr">Thanks,<div>sounds good, I&#39;ve no idea on how to apply it but I&#39;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">&lt;<a href="mailto:yurj@alfa.it" target="_blank">yurj@alfa.it</a>&gt;</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 &quot;openaire&quot;,<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>
&gt; Hello,<br>
&gt; I&#39;m trying to reach a complete compliance for Openaire specs 3.0.<br>
&gt;<br>
&gt; Now the problem is:<br>
&gt; in<br>
</span>&gt; myarchive/cfg/cfg.d/<a href="http://oai.pl" rel="noreferrer" target="_blank">oai.pl</a> &lt;<a href="http://oai.pl" rel="noreferrer" target="_blank">http://oai.pl</a>&gt;<br>
<span class="">&gt;<br>
&gt; we have a default eprints dataset called Driver where you can find all<br>
&gt; Open Access records<br>
&gt;<br>
&gt; The plugin on github creates a new dataset for European Community<br>
&gt; funded resources.<br>
&gt;<br>
&gt; <a href="https://github.com/eprintsug/openaire-compliance" rel="noreferrer" target="_blank">https://github.com/eprintsug/<wbr>openaire-compliance</a><br>
&gt;<br>
&gt; if(defined $c-&gt;{oai}-&gt;{custom_sets})<br>
&gt; { @{ $c-&gt;{oai}-&gt;{custom_sets} } = (@{ $c-&gt;{oai}-&gt;{custom_sets} }, (<br>
&gt;  {<br>
&gt; spec =&gt; &quot;ec_fundedresources&quot;,<br>
&gt; name =&gt; &quot;EC_fundedresources&quot;,<br>
&gt; filters =&gt; [ { meta_fields =&gt; [&quot;eu_project&quot; ], value =&gt; &quot;yes&quot;, }, ]<br>
&gt; }, ));<br>
&gt; }<br>
&gt;<br>
</span>&gt; Now I need to add a new dataset, called *openaire*, that contains:<br>
<span class="">&gt; - all open access papers<br>
&gt; - all eu_project papers no matter for the access rights<br>
&gt;<br>
&gt; So, is it possible to make a filter that sums the results or is there<br>
&gt; a way to merge the two datasets?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Alfredo<br>
&gt;<br>
&gt;<br>
</span>&gt; *** 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>
&gt; *** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.<wbr>php/</a><br>
&gt; *** EPrints community wiki: <a href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
&gt; *** 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>