LetoDMS Community Forum
Zend_Search_Lucene_Exception - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Technical Support (https://community.letodms.com/forumdisplay.php?fid=10)
+--- Thread: Zend_Search_Lucene_Exception (/showthread.php?tid=585)



Zend_Search_Lucene_Exception - fernan - 11-15-2012

I installed letoDMS-3.4.0RC3. When I add or delete a document, I get the following error mesage:

Fatal error: Uncaught exception 'Zend_Search_Lucene_Exception' with message 'Index doesn't exists in the specified directory.' in /homepages/34/d302546272/htdocs/gesdoc/Zend/Search/Lucene.php:566 Stack trace: #0 /homepages/34/d302546272/htdocs/gesdoc/Zend/Search/Lucene.php(225): Zend_Search_Lucene->__construct('../data/lucene/', false) #1 /homepages/34/d302546272/htdocs/gesdoc/Lucene/Indexer.php(33): Zend_Search_Lucene::open('../data/lucene/') #2 /homepages/34/d302546272/htdocs/gesdoc/op/op.AddDocument.php(194): LetoDMS_Lucene_Indexer::open('../data/lucene/') #3 {main} thrown in /homepages/34/d302546272/htdocs/gesdoc/Zend/Search/Lucene.php on line 566

Can anybody help to fix this problem?

Thanks


RE: Zend_Search_Lucene_Exception - steinm - 11-15-2012

(11-15-2012, 09:01 PM)fernan Wrote: I installed letoDMS-3.4.0RC3. When I add or delete a document, I get the following error mesage:

Fatal error: Uncaught exception 'Zend_Search_Lucene_Exception' with message 'Index doesn't exists in the specified directory.' in /homepages/34/d302546272/htdocs/gesdoc/Zend/Search/Lucene.php:566 Stack trace: #0 /homepages/34/d302546272/htdocs/gesdoc/Zend/Search/Lucene.php(225): Zend_Search_Lucene->__construct('../data/lucene/', false) #1 /homepages/34/d302546272/htdocs/gesdoc/Lucene/Indexer.php(33): Zend_Search_Lucene::open('../data/lucene/') #2 /homepages/34/d302546272/htdocs/gesdoc/op/op.AddDocument.php(194): LetoDMS_Lucene_Indexer::open('../data/lucene/') #3 {main} thrown in /homepages/34/d302546272/htdocs/gesdoc/Zend/Search/Lucene.php on line 566

Can anybody help to fix this problem?

Thanks

Try to create the index first. Admin tools->Create Index

Uwe



RE: Zend_Search_Lucene_Exception - fernan - 11-15-2012

That worked, thanks a lot


RE: Zend_Search_Lucene_Exception - faithbegins - 06-04-2013

How to create index?