<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi Laurent,</p>
<p style="margin-top:0;margin-bottom:0">If I remember correctly, it's an 'AND' in the vanilla oai2 interface.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">From: [EPRINTS_ROOT]/cgi/oai2</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div>my $searchexp = $ds->prepare_search(</div>
<div> allow_blank => 1,</div>
<div> filters => [</div>
<div> @{$filters},</div>
<div> ],</div>
<div> custom_order => "eprintid",</div>
<div> limit => ($PAGESIZE+1) );</div>
<br>
<p></p>
<p style="margin-top:0;margin-bottom:0">EPrints::DataSet::prepare_search calls EPrints::Search::new - the default setting for a search is 'satisfy_all' = 1.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">You could copy the cgi script above into:</p>
<p style="margin-top:0;margin-bottom:0">[EPRINTS_ROOT]/archives/[ARCHIVEID]/cgi/oai2</p>
<p style="margin-top:0;margin-bottom:0">and define a key on the oai set config to switch satisfy_all between 1 and 0 as necessary.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I have not tried this. It's a possible solution for what you need - but entirely untested!</p>
<p style="margin-top:0;margin-bottom:0">If it doesn't work, or you have other questions, let me know!</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Cheers,</p>
<p style="margin-top:0;margin-bottom:0">John</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">PS <span style="font-size: 12pt;">You may also be intere</span><span style="font-size: 12pt;">sted in </span><a href="http://bazaar.eprints.org/411/" class="OWAAutoLink" id="LPlnk243121" previewremoved="true" style="font-size: 12pt;">http://bazaar.eprints.org/411/</a><span style="font-size: 12pt;"> -
which </span><span style="font-size: 12pt;"> flags anything that has a datestamp, but that is not currently live as 'deleted'
</span><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">in the OAI-PMH interface (which is more compliant with that
standard).</span><span style="font-size: 12pt;"></span></p>
<p style="margin-top:0;margin-bottom:0"><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">The changes may have been
merged into the core of EPrints - comparing the cgi/oai2 files should show if this is the case.</span></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Laurent Cloarec <Laurent.Cloarec@ut-capitole.fr><br>
<b>Sent:</b> 29 May 2018 14:47:52<br>
<b>To:</b> eprints-tech@ecs.soton.ac.uk<br>
<b>Subject:</b> [EP-tech] OAI : need some explanations about custom sets and filters</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText"><a href="https://wiki.eprints.org/w/OAI">https://wiki.eprints.org/w/OAI</a><br>
<br>
Hi there<br>
<br>
As we do need to define an OAI custom set into our repository, I'd like to know <br>
if the different filters criteria work only with an implicit "AND" operator <br>
(unfortunately not "OR"), and if exists a negative operator (kind of "!=>")...<br>
<br>
Regards<br>
--<br>
Laurent Cloarec<br>
Service Commun de la Documentation - Service du Numérique Documentaire<br>
Université Toulouse 1 Capitole<br>
<br>
<br>
<br>
*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
*** Archive: <a href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki: <a href="http://wiki.eprints.org/">http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a href="http://forum.eprints.org/">http://forum.eprints.org/</a><br>
</div>
</span></font></div>
</body>
</html>