Server errors regarding search; Disabling updating index for encyclopedia

Bug #1772997 reported by kaputtnik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Widelands Website
Fix Released
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)
summary: - Server errors regarding search
+ Server errors regarding search; Disabling updating index for
+ encyclopedia
Revision history for this message
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.

Revision history for this message
kaputtnik (franku) wrote :

I think this is fixed now.

Changed in widelands-website:
status: New → Fix Committed
Revision history for this message
GunChleoc (gunchleoc) wrote :
Changed in widelands-website:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.