Hi Tuan

On the Slack tech-support channel, Nicholas Woodward reported that he had
recreated the cores 'by copying the new statistics core into a new Solr
configset, e.g. statistics-2022, for each previous year and changing the
schema name in schema.xml. Then after restarting Solr I was able to import
all of the old stats CSV files.'

I was about to try this, when I realised I'd made a mistake and imported
all my sharded statistics into the main core. I'm actually fine with that,
unless someone here tells me that that was a terrible thing to do.

Sean

On Tue, 14 Feb 2023 at 14:53, [email protected] <[email protected]>
wrote:

> Hi all
>
> We are in the process of migrating our DSpace 6x to 7.4.
>
> I am running into a problem with trying to import the SOLR statistics CSV
> files. We have our statistics sharded for each year and dumped the data to
> CSV files. However, the upgrade instructions have no mention of how to
> recreate the shards for statistics, only instructions for importing the
> CSVs. When I try to import the shards, I get the error 404 because the
> cores/shards are not created yet. Could you please give me some hints how
> to do this?
>
> Thanks for you help.
> Tuan
>
> https://wiki.lyrasis.org/display/DSDOC7x/Upgrading+DSpace
>
> Excerpt of the instructions I  followed below:
>
> Load authority and statistics from the dumps
> <https://wiki.lyrasis.org/display/DSDOC7x/Upgrading+DSpace#UpgradingDSpace-dump_solr>
>  that
> you made earlier (not the disaster-recovery backup).
>
> [dspace]/bin/dspace solr-import-statistics -i authority
> [dspace]/bin/dspace solr-import-statistics -i statistics
>
> This could take quite some time.
>
> *If you had sharded your statistics, you will need to load the dump of
> each shard separately.  As when dumping, the index names will be ...
> statistics-2017 statistics-2018 statistics.*
>
> --
> All messages to this mailing list should adhere to the Code of Conduct:
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/e2cc11bc-1761-4936-8a15-5895b3741340n%40googlegroups.com
> <https://groups.google.com/d/msgid/dspace-tech/e2cc11bc-1761-4936-8a15-5895b3741340n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CA%2BxAuhM2EWcWn-05HU67xoCbAoJ7hqgJSugcfevYdtuzt9ymnQ%40mail.gmail.com.

Reply via email to