Search for records where a field does not exist

Search for records where a field does not exist

How to create a list of records that does not have a given field


Table of Contents

How to:

Sierra Create Lists is able to search for a field that does not exist, however this search is not included in the user interface. You can only include it in your search with JSON. Here’s the JSON search to look for a bib record without an 020 field:

{ "target": { "record": { "type": "bib" }, "field": { "marcTag": "245", "subfields": "a" } }, "expr": { "op": "not_exists", "operands": [ "", "" ] } }

You can use that alone or add it to a search with other criteria.

Top of page

Related Documentation