Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make solr-data persistent #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mateuszbieniek
Copy link
Collaborator

Currently, ddev restart will destroy Solr indexes, which will have to be recreated afterward with ibexa:reindex.
This PR makes this data persistent.

@reithor
Copy link
Owner

reithor commented May 22, 2023

@mateuszbieniek : using the script as it is, ddev restart is not removing indexes for me:

# from solr admin
CWD:/opt/solr-8.11.2/server
Instance:/solr-conf/server/ibexa/collection1
Data:/solr-conf/server/ibexa/collection1/data
Index:/solr-conf/server/ibexa/collection1/data/index
Impl:org.apache.solr.core.NRTCachingDirectoryFactory

/solr-conf is mounted to the projects .ddev/solr directory which stores the index. Or am i missing something ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants