Closed chenkuncloud closed 2 years ago
Dear @henrietteharmse
I looked at all the issues, but I still couldn't find the right solution.
Looking forward to get your help, thanks!
Best Regards
Hi @chenkun19960427,
I'm not sure if you did this already but as far as I know, when starting solr in Windows, you could only pass the -Dsolr.data.dir
config to solr by updating solr.cmd.
i.e., change
set START_OPTS=-Duser.timezone=%SOLR_TIMEZONE%
to something like
set START_OPTS=-Duser.timezone=%SOLR_TIMEZONE% -Dsolr.data.dir=C:\Users\username\.ols\solr
Apologies for accidentally closing your ticket @chenkun19960427. It was unintentional. Let us know if you still encounter the issue.
Dear @serjoshua
This issue has been resolved ! Just add solr.home to the environment variable . I made a very stupid issue .
Thank you very much for your reply .
Best Regards
Hi,
I'm following the tutorial https://www.ebi.ac.uk/ols/docs/installation-guide deploy OLS locally.
Now, [mvn clean install], [ols-config-importer.jar] successfully executed, and Tomcat has been stopped.
However, the following error occurs during [ols-indexer.jar] execution:
I have read #239 , and increases [-Dsolr.solr.home, -Dsolr.data.dir] when Solr starts, but the error still occurs.
Is it that I have the wrong path(-Dsolr.solr.home, -Dsolr.data.dir)?
Full command: solr -Dsolr.solr.home=D:/developer/idea/workspace/OLS/ols-solr/src/main/solr-5-config -Dsolr.data.dir=D:/ols/OLS_DATA_HOME/solr [D:/developer/idea/workspace/OLS] is the full code on Github,but I did not make any modifications to [solr-5-config] [D:/ols/OLS_DATA_HOME/solr] is empty, it's an empty directory I created
The following information is for your reference:
Thank you!