01kuzma (4) [Avatar] Offline
#1
Hello!
I've tried to impelement zend search lucene in my application.
The working example I've taken from this site.
In this example you're using relationship between two tables but I don't need it in my application. So I've encountered first error:Argument 1 passed to Default_SearchIndexer::getDocument() must be an instance of Entries_Db_Table_Row_Observable...
I've tried to add a relationship with another model adding a line: protected $_rowClass = 'Entries';, but as I'm using modular structure I've encountered another error:exception 'Zend_Exception' with message 'File "Entries.php" does not exist or class "Entries" was not found. I haven't found any solution how to fix second problem... So could you guide me how can I fix this to get working reindex action?
Thank you!
01kuzma (4) [Avatar] Offline
#2
Re: Problems with Zend Lucene
By the way I found a little bug when search produces result - the id in result differes from id in db, it has -1 value
01kuzma (4) [Avatar] Offline
#3
Re: Problems with Zend Lucene
So, nobody fixed the bug with serach results?