-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Loading dumped search indexes doesn't seems to work (immediately) #195
Comments
Wait...
My test search for Madonna now return results as expected. So what do we have to stop/start/restart to get this without reboot of the Virtual Machine? And why do we don't get every entity with an OK and the same values for INDEX and DB? |
As I'm not a contributor, I can only share my own experiences, hoping they are useful for your case. I needed to restart the services: In my case, no entity returns OK:
The database and search indexes dumps are a month apart, so obviously that's the reason in my case. |
This are the differences for the two newest search and data dumps from 15.08.2021:
As you can see, there is not one OK status at all. And you are right: |
The reason for the outdated search index export was explained from @yvanzo (MetaBrainz Software Engineer) as follows:
|
Probably didn't happened yet? I still get non-sync indexes |
Hi, sorry for not having answered here earlier. The initial issue has been resolved in 2021 at least.
@orkenstein: What makes you think so? I just checked that fresh search index dumps are available. Note that you also need replication with live indexing to be up-to-date before checking it again. |
After executing the command
sudo docker-compose run --rm search load-search-indexes.sh
which fails, because
and followed by the same command with additional --force
sudo docker-compose run --rm search load-search-indexes.sh --force
it doesn't seem to load search indexes.
Executing the command:
admin/check-search-indexes all
shows:
What kind of command or additional step to setup search indexes
https://github.com/metabrainz/musicbrainz-docker#set-up-search-indexes
is necessary to get the downloaded dump search indexes loaded into the database?
I know that I can rebuild the indexes with
sudo docker-compose exec indexer python -m sir reindex
but this takes at least 5 time longer then downloading the dumped search indexes and their import.
The text was updated successfully, but these errors were encountered: