import oai not generate directory data in solr

25 views
Skip to first unread message

Lucas Silveira

unread,
Jul 9, 2024, 1:01:04 PM7/9/24
to DSpace Technical Support
Dear colleagues,
How do I make sure the data folder inside the dspaceInstall/solr/oai directory is already generated? after scrolling the ./dspace oai import -c I expected the data to be there, however, I only have the config directory.

Thanks in advance.

DSpace Technical Support

unread,
Jul 15, 2024, 11:54:58 AM7/15/24
to DSpace Technical Support
Hi,

The [dspace]/solr/oai directory just contains a *copy* of the necessary Solr configurations used to setup the OAI index.   It will never contain the *data*, because you are expected to copy those configurations into Solr during the Install process.  See step 13 ("Copy Solr Cores") of the Backend Installation docs: https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-BackendInstallation

So, this all means that the [dspace]/solr/oai/ directory will ONLY contain the Solr configs.  The actual Solr data will instead be found in your Solr data directory, often under "/var/solr/data/oai" (but the exact location in your Solr install may be different based on how your operating system installs Solr).  More on the Solr Data Directory can be found at https://solr.apache.org/guide/8_0/datadir-and-directoryfactory-in-solrconfig.html

Hopefully that helps!

Tim

Reply all
Reply to author
Forward
0 new messages