CodeIgniter Forums
Help! How to use Zend_Search_Lucene in CI - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: Help! How to use Zend_Search_Lucene in CI (/thread-18900.html)



Help! How to use Zend_Search_Lucene in CI - El Forum - 05-21-2009

[eluser]helphelp[/eluser]
Hi, i have troubles using it.
I am stuck on this

$doc = Zend_Search_Lucene_Document_Html::loadHTMLFile($filename);
http://framework.zend.com/manual/en/zend.search.lucene.html#zend.search.lucene.index-creation.html-documents

Can i do this?

$doc = Zend_Search_Lucene_Document_Html::loadHTMLFile(‘http://www.google.com’);
or
$doc = Zend_Search_Lucene_Document_Html::loadHTML(‘http://www.google.com’);

Examples are really help

Thanks a lot