[EP-tech] Re: OR-linked search filters?
sf2
sf2 at ecs.soton.ac.uk
Mon Dec 8 13:52:48 GMT 2014
Hi,
I think "match" takes one of EX EQ IN or SET. And merge one of ALL or ANY
Try IN?
Seb
Sent from Samsung Mobile
-------- Original message --------
From: Florian Heß <hess at ub.uni-heidelberg.de>
Date:
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] OR-linked search filters?
Hi,
we defined for our OAI interface the following filters:
$oai->{filters} = [
# Example: don't export any OAI records from before 2003.
{ meta_fields => [ "type" ], value=>"doctoralThesis
doctoralThesis.habil masterThesis bachelorThesis book Periodical article
bookPart preprint workingPaper conferenceObject lecture review patent
Sound MovingImage CartographicMaterial report", match => "ANY" },
{ meta_fields => [ "full_text_status" ],
value => "public none",
match => "ANY",
},
];
In addition, we want to let through another existing type for abstracts
but only where the subjects contain 340 or "Law" in DDC terms. Is that
possible and how can I achieve that?
Regards
Florian
--
UB Heidelberg (Altstadt)
Plöck 107-109, 69117 HD
Abt. Informationstechnik
http://www.ub.uni-heidelberg.de/
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20141208/5e45ed5e/attachment.html
More information about the Eprints-tech
mailing list