Hi,

I have a couple of questions regarding Zend_Search_Lucene which hopefully
someone can answer. I'm using the search component on its own from a php
application which doesnt use ZF. Php  version is 5.2.1. MySQL 4. ZF 0.93

I basically need to understand how to create indexes against some existing
database tables. However, getting one index working would be a start. I'm
using some code which I found on a cakePHP site:

http://bakery.cakephp.org/articles/download_code/102/block/5  (creating the
index)

http://bakery.cakephp.org/articles/download_code/102/block/2 (querying the
index)

however, i think this code was written using an earlier version of the ZF
framework.

In the current ZF manual, it seems that some additional methods are required
i.e Zend_search_Lucene::create and ::open.

I'd be grateful if someone could take a look at the above code and see if
they think this needs adapting? In particular, I think the setting of the
path to the index file(s) is incorrect.

Many thanks!

lukemack.


-- 
View this message in context: 
http://www.nabble.com/Using-Zend_Search_Lucene-tf3773120s16154.html#a10668191
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to