Lucene Arama kütüğü sitesi yazma erişimi yüksek ses olduğunda hosting düzenli tatili

0 Cevap php

Benim web lucene hayata geçirdik. Yaklaşık her 4 gün benim arama dizini keser. Ben dizin okunamaz ve site kullanıcılarına bir 500 hata gösterir söyleyerek bir hata alıyorum.

Ben indeksi ve eveything normal gider yeniden, SSH.

Normal biraz farklı olan bu projenin sadece bir bölümünü ben DB yapıyorum yazma yüksek sayısıdır. Ben her sayfa görünümünde bir ViewCount alanı artan duyuyorum. Ben Lucene belgeyi her zaman günceller sanırım.

Presuming that this is the issue: Is there a way to tell Lucene to NOT update the index when we are simply incrementing the count field?

NB: My project uses sfLucenePlugin within Symfony

NB2: The error message is similar to:

Sep 03 18:52:21
symfony [err] {sfException} 
File '/home/username/symfony_project/data/index/MyIndex/en/_1nws_s.del' is not readable. 
in /home/username/symfony_project/plugins/sfLucenePlugin/lib/vendor/Zend/Search/Lucene/Storage/File/Filesystem.php 
line 59

0 Cevap