Using the tool to search our MODS records.
Grab the shortcut to mods-search.exe (the shortcut with Du Bois's head on it) from r:/credo/mods-search
and copy it to your desktop. Double click on the shortcut icon and a black window with http://0.0.0.0:8080
should open up:
Point your browser to http://localhost:8080 and you should see this:
Search away!
NB The database is updated about once a day so the records you just created are probably not in there yet. It's probably not too hard to find those, however ;)
You can search specific fields using the drop-down menu below the search box. “Keyword” searches the entire content of the MODS record. You can also use boolean values to search, e.g.:
James T. = Search for occurrences of both “James” and “T.”
James OR T. = Search for records with “James” or with “T.”
“James T.” = Search for the phrase “James T.”
Jam* = Search for anything that starts with Jam (James, Jamberry, Jamz, etc…)
Usage:
Use this script to ingest MODS records into the mods-search database for use with the mods-search tool.
To ingest all new records and update any old ones that have been changed, use this command:
ingest -u staging
This script runs recursively so it will look for all MODS records starting with the directory specified in the last argument. The MODS records must have a .xml
extension for this to work.
To only add new records and not update changed records, use this command:
ingest -a
The SQLite database for the mods-search tool is in r:/credo/mods-search/db
.