Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Remove -o flag per PR#9082

...

  • import  Imports DSpace items into OAI Solr index (also cleans OAI cache)
  • clean-cache  Cleans the OAI cache

Parameters

  • -Optimize index after indexing-c Clears the Solr index before indexing (it will import all items again)
  • -v Verbose output
  • -h Shows an help text

...

If you need to add/remove metadata fields, you're changing the output format. Therefore it is recommended to create a new metadata format as a copy of the one you want to modify. This way the old format will remain available along with the new one and any upgrades to the original format during DSpace upgrades will not overwrite your customizations. If you need the format to have the same name as the original format (e.g. the default oai_dc format), you can create a new context in xoai.xsl containing your modified format with the original name, which will be available as /oai/context-name.

...