From d73752e3fa82db941ffdf610a175f1e864cdb637 Mon Sep 17 00:00:00 2001 From: David Sauve Date: Thu, 8 Oct 2009 14:48:20 -0400 Subject: [PATCH] Updated README with notes on how to avoid 500 errors from multiple write access attempts on re-indexing. --- README | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README b/README index f3a9a14..31f804e 100644 --- a/README +++ b/README @@ -15,10 +15,11 @@ Requirements - Xapian 1.13.X (May work with earlier versions, but untested) - mod_wsgi 1.3.X -Note ----- +Notes +----- - Due to an issue with mod_python causing deadlocks with Xapian (http://trac.xapian.org/ticket/185), mod_python is not supported with xapian-haystack. It may work, with some tweaking, but your mileage will vary. +- Because Xapian does not support simultaneous WritableDatabase connections, it is *strongly* recommended that users either set `WSGIDaemonProcess processes=1` or override the default SearchIndex class to remove the post-save and post-delete signals that cause an immediate re-index. Instead, manually re-index your site content through a cronjob at pre-determined times. Installation ------------