On 03/12/2007, grawal <[EMAIL PROTECTED]> wrote:
>
>
> Sunday morning, I downloaded WAMP5 and the Zend Framework 1.0.3. I'd like
> to
> search a mysql database. I can't figure out how to have Zend_Search_Lucene
> connect and search through the database. I've seen tutorials to search
> through RSS feeds. But I've been trying to change them to reflect a db
> search. my database name is album, and it has two fields: artist, title.
>
>
IIRC, you don't search a database using Zend_Search_Lucene. You create an
index and at the point where you are inserting values into the database, you
also collect those into a "document" and add that document to the index (be
sure to call $index->commit). See
http://framework.zend.com/manual/en/zend.search.lucene.index-creation.htmlfor
more info.

HTH,

-- 
Vincent

Reply via email to