Last active
November 29, 2018 21:04
-
-
Save jcoyne/1d66e4c190fa411ebbaf4208db275d39 to your computer and use it in GitHub Desktop.
Argo indexing tests
This file contains hidden or 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
File.open('new-qq613vj0238.txt', 'w') do |file| | |
h = Dor.find("druid:qq613vj0238").to_solr.stringify_keys | |
file.puts JSON.pretty_generate(h) | |
end | |
cat old-qq613vj0238.txt | jq '.' --sort-keys > old-sorted.txt | |
cat new-qq613vj0238.txt | jq '.' --sort-keys > new-sorted.txt | |
diff new-sorted.txt old-sorted.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment