Hi,
I'm digging up this old thread, in order to push the question further:
is there a way to find all records whose MARC field XXX is empty?
Like, all records that do not contain a "department" field (918 $c in
our installation; this field is not contained in any logical index).
(using Invenio v0.99.1 http://doc.rero.ch/ )
Miguel
On Oct 5, 2005, at 22:39, Tibor Simko wrote:
Hello Miguel
On Tue, 04 Oct 2005, Miguel Moreira wrote:
How can I search for all the records that do not contain 'Faculté
des Sciences' in 918__a?
With CDSware v0.7.1 it is not possible to start your query with
Boolean NOT or OR operators: they will be silently ignored. This
feature has been fixed in CDSware CVS.
The solution is therefore to start your query with something that
gives you the full universe, and only then add the NOT part. For
example, if all your records have a year field, then use this query:
year:1000->2005 NOT 918__a:"Faculté des Sciences"
Tibor
P.S. Your records probably all contain collection identifiers (980),
so you could use 980 to get the full universe. (e.g. 980:A->Z)