Last active
November 13, 2019 15:12
-
-
Save jcoyne/1888a5fb47b8b9a83052f3bcec5ca419 to your computer and use it in GitHub Desktop.
Search for Druids
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filter = 'wf_wps_ssim:"accessionWF:sdr-ingest-transfer:error"' | |
search = Blacklight.default_index.search(fq: filter, fl: 'id', rows: 10_000) | |
druids = search.response['docs'].map {|d| d['id']} |
Author
jcoyne
commented
Nov 13, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment