Pipeline for importing, searching and notifying about (RIS) documents.
git clone https://github.com/lhm/loris.git
bundle install
Needs Elasticsearch installed.
bin/import consumes line based JSON on stdin and imports as is into the 'loris' index on Elasticsearch running on localhost:9200.
cat path/to/json | bin/import
- pass primary key as argument, and don't import if doc exists
- process ES response, and output only created document (not updated ones)
- Fork it ( https://github.com/lhm/loris/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request