Zend_Search_Lucene equivalent in Yii?


I am new in Yii and I was wandering if there is, in Yii, an equivalent of the Zend_Search_Lucene. I mean can we somehow index our searches here in Yii?

Thank you in advance.

You don’t really need an equivalent as you can easily reuse the Zend extension itself with Yii. Here is a quick example. Just add the 2 lines of code:


If you prefer using Sphinx (I am doing that) you can use this extension which essentially is a wrapper for the Sphinx-methods: http://www.yiiframework.com/extension/dgsphinxsearch

Thank you very much. I will try them both :)