Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start indexing CommunityArchive #308

Open
2 tasks
sandbergja opened this issue May 24, 2020 · 0 comments
Open
2 tasks

Start indexing CommunityArchive #308

sandbergja opened this issue May 24, 2020 · 0 comments
Labels
Milestone

Comments

@sandbergja
Copy link
Member

sandbergja commented May 24, 2020

  • Add a rake task
  • Traject config needs a URL
traject -i xml -r Traject::OaiPmhNokogiriReader \
-s oai_pmh.start_url=https://libarchive.linnbenton.edu/catalog/oai.xml?verb=ListRecords&metadataPrefix=oai_dc&set=type:OpenEducationalResource \
-c lib/tasks/data/config/config.rb \
-s solr.url=[YOUR SOLR URL \
-s solrj_writer.commit_on_close=true \
-c lib/tasks/data/config/oai.rb
@sandbergja sandbergja added this to the 2.4.0 milestone May 24, 2020
sandbergja added a commit that referenced this issue Aug 28, 2020
To use it, you can run:

traject -i xml -r Traject::OaiPmhNokogiriReader \
-s oai_pmh.start_url=https://libarchive.linnbenton.edu/catalog/oai.xml?verb=ListRecords&metadataPrefix=oai_dc&set=type:OpenEducationalResource \
-c lib/tasks/data/config/config.rb \
-s solr.url=[YOUR SOLR URL \
-s solrj_writer.commit_on_close=true \
-c lib/tasks/data/config/oai.rb
@sandbergja sandbergja modified the milestones: 2.4.0, 3.0.0 May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant