Server errors regarding search; Disabling updating index for encyclopedia

Bug #1772997 reported by kaputtnik on 2018-05-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Widelands Website
Undecided
Unassigned

Bug Description

JFYI: The reason of of the search related server errors are known to django-haystack:

https://github.com/django-haystack/django-haystack/pull/1601

But i am unsure if the error is caused by haystack or by whoosh (the indexer). At least i can reproduce the error at home by updating the index, ... sometimes. Currently my guess is that updating the encyclopedia may lead into different row IDs on each update and whoosh can't update the index properly.

Will investigate further...

In the mean time i create a complete new index and disable updating the index for the encyclopedia to get rid of the server errors.

kaputtnik (franku) on 2018-05-23
summary: - Server errors regarding search
+ Server errors regarding search; Disabling updating index for
+ encyclopedia
kaputtnik (franku) wrote :

I have moved the command creating the index for wlhelp

from the hourly cronjob
to the daily cron job

I think updating the index is only needed when wlhelp is also updated.

Additionally added an option to remove stale content from the index. Lets wait and see if this will fix the issue.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers