-
Allow nil values, empty fields, and deduplication
This adds three new settings (all of whose defaults reflect current behavior)
allow_nil_values
(default: false). Allow nil values to be sent on to the writerallow_duplicate_values
(default: true). Allow duplicate values. Set to false to force only unique values.allow_empty_fields
(default: false). Default behavior is that the output hash doesn't even contain keys for ato_field
which doesn't produce any values. Set totrue
to pass empty fields on to the writer (with the value being an empty array)
- Had inadverntantly broken use of arrays as extract_marc specifications. Fixed.
- Change DebugWriter to be more forgiving (and informative) about missing record-id fields
- Automatically require DebugWriter for easier use on the command line
- Refactor MarcExtractor to be easier to read
- Fix .travis file to actually work, and target more recent rubies.
- update some docs (typos)
- Make the indexer's
writer
r/w so it can be set at runtime (#110) - Allow
extract_marc
to be callable from anywhere (#111) - Add doc instructions/examples for programmatic Indexer use
- Much better error reporting; easier to find which record went wrong
- Guard against assumption of MARC data when indexing using SolrJsonWriter (#94)
- For MARC Records, try to use the production date when available (#93)
- Fix bad constant in logging (#91)
- Compatible with MRI/RBX
- Default to SolrJsonWriter
- Release separate MRI/JRuby gems
- First release