Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To convert the identifiers in solr-in.csv and write the statistics to solr-out.csv, run:

Code Block
cd /tmp
curl -s -O -J "https://wiki.duraspace.org/download/attachments/70584988/migrate_solr_statistics.py?version=1&modificationDate=1443973577575&api=v2"
python migrate_solr_statistics.py handle-old.csv handle-new.csv bitstream-old.csv bitstream-new.csv solr-in.csv solr-out.csv

...

Code Block
rm -rf /dspace/solr-export/*.csv
mv /tmp/solr-out.csv /dspace/solr-export/statistics_export-all.csv

/dspace/bin/dspace solr-import-statistics --clear

...